Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91796c23 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: SMP: convert to irq chip functions

parent 9f51a874
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -154,9 +154,13 @@ void platform_clear_ipi(unsigned int cpu, int irq)
void __cpuinit bfin_local_timer_setup(void)
{
#if defined(CONFIG_TICKSOURCE_CORETMR)
	struct irq_chip *chip = get_irq_chip(IRQ_CORETMR);
	struct irq_desc *desc = irq_to_desc(IRQ_CORETMR);

	bfin_coretmr_init();
	bfin_coretmr_clockevent_init();
	get_irq_chip(IRQ_CORETMR)->unmask(IRQ_CORETMR);

	chip->irq_unmask(&desc->irq_data);
#else
	/* Power down the core timer, just to play safe. */
	bfin_write_TCNTL(0);