Skip to content

Commit

Permalink
Revert "ARC: SMP resurrect #21: request_irq() workaround for clockeve…
Browse files Browse the repository at this point in the history
…nt Timer"

This reverts commit 2985184.

Next commit uses the correct APIs, so we no longer need this hack

Signed-off-by: Vineet Gupta <[email protected]>
  • Loading branch information
vineetgarc committed Oct 25, 2012

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7143bd9 commit 2f421c6
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions arch/arc/kernel/smp.c
Original file line number Diff line number Diff line change
@@ -124,9 +124,6 @@ void __cpuinit start_kernel_secondary(void)

arc_clockevent_init();

/* Hack for request_irq() failing on non-boot CPU */
arch_unmask_irq(TIMER0_INT);

local_irq_enable();
preempt_disable();
cpu_idle();
2 changes: 1 addition & 1 deletion arch/arc/kernel/time.c
Original file line number Diff line number Diff line change
@@ -180,7 +180,7 @@ void __cpuinit arc_clockevent_init(void)
clockevents_register_device(evt);

rc = request_irq(TIMER0_INT, timer_irq_handler,
IRQF_TIMER | IRQF_DISABLED | IRQF_PERCPU | IRQF_SHARED,
IRQF_TIMER | IRQF_DISABLED | IRQF_PERCPU,
"Timer0 (clock-evt-dev)", evt);

if (rc)

0 comments on commit 2f421c6

Please sign in to comment.