Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286891
b: refs/heads/master
c: 7deabca
h: refs/heads/master
i:
  286889: c916fdb
  286887: a58947a
v: v3
  • Loading branch information
Russell King committed Jan 19, 2012
1 parent 84d7d22 commit afeb960
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94ae0275d7d6cae84b3af11f9e3d88f529528ac7
refs/heads/master: 7deabca0acfe02b8e18f59a4c95676012f49a304
10 changes: 8 additions & 2 deletions trunk/arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,7 @@ 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_GENERIC_CLOCKEVENTS_BROADCAST
Expand Down Expand Up @@ -548,23 +546,31 @@ void handle_IPI(int ipinr, struct pt_regs *regs)

switch (ipinr) {
case IPI_TIMER:
irq_enter();
ipi_timer();
irq_exit();
break;

case IPI_RESCHEDULE:
scheduler_ipi();
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:
Expand Down

0 comments on commit afeb960

Please sign in to comment.