Permalink
Browse files

Revert "ARM: fix rcu stalls on SMP platforms"

This reverts commit 7da5da5.
  • Loading branch information...
pershoot committed May 7, 2012
1 parent 015ea97 commit 8ba628aff61aee1b67e750a4370bb80d91b711cc
Showing with 2 additions and 8 deletions.
  1. +2 −8 arch/arm/kernel/smp.c
View
@@ -384,7 +384,9 @@ static DEFINE_PER_CPU(struct clock_event_device, percpu_clockevent);
static void ipi_timer(void)
{
struct clock_event_device *evt = &__get_cpu_var(percpu_clockevent);
+ irq_enter();
evt->event_handler(evt);
+ irq_exit();
}
#ifdef CONFIG_LOCAL_TIMERS
@@ -479,9 +481,7 @@ asmlinkage void __exception do_IPI(int ipinr, struct pt_regs *regs)
switch (ipinr) {
case IPI_TIMER:
- irq_enter();
ipi_timer();
- irq_exit();
break;
case IPI_RESCHEDULE:
@@ -492,21 +492,15 @@ asmlinkage void __exception do_IPI(int ipinr, struct pt_regs *regs)
break;
case IPI_CALL_FUNC:
- irq_enter();
generic_smp_call_function_interrupt();
- irq_exit();
break;
case IPI_CALL_FUNC_SINGLE:
- irq_enter();
generic_smp_call_function_single_interrupt();
- irq_exit();
break;
case IPI_CPU_STOP:
- irq_enter();
ipi_cpu_stop(cpu);
- irq_exit();
break;
default:

0 comments on commit 8ba628a

Please sign in to comment.