Skip to content

Commit

Permalink
Revert "ARC: SMP resurrect foss-for-synopsys-dwc-arc-processors#21: r…
Browse files Browse the repository at this point in the history
…equest_irq() workaround for clockevent Timer"

This reverts commit 2985184.

Next commit uses the correct APIs, so we no longer need this hack
  • Loading branch information
vineetgarc committed Jul 28, 2012
1 parent a5019e7 commit 6dc770a
Show file tree
Hide file tree
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
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6dc770a

Please sign in to comment.