diff options
| -rw-r--r-- | arch/arm/include/asm/localtimer.h | 4 | ||||
| -rw-r--r-- | arch/arm/kernel/smp.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/localtimer.h b/arch/arm/include/asm/localtimer.h index 080d74f8128d..3306f281333c 100644 --- a/arch/arm/include/asm/localtimer.h +++ b/arch/arm/include/asm/localtimer.h | |||
| @@ -22,6 +22,10 @@ void percpu_timer_setup(void); | |||
| 22 | */ | 22 | */ |
| 23 | asmlinkage void do_local_timer(struct pt_regs *); | 23 | asmlinkage void do_local_timer(struct pt_regs *); |
| 24 | 24 | ||
| 25 | /* | ||
| 26 | * Called from C code | ||
| 27 | */ | ||
| 28 | void handle_local_timer(struct pt_regs *); | ||
| 25 | 29 | ||
| 26 | #ifdef CONFIG_LOCAL_TIMERS | 30 | #ifdef CONFIG_LOCAL_TIMERS |
| 27 | 31 | ||
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 2e49f1883fe9..0949007d09a8 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
| @@ -480,6 +480,11 @@ static void ipi_timer(void) | |||
| 480 | #ifdef CONFIG_LOCAL_TIMERS | 480 | #ifdef CONFIG_LOCAL_TIMERS |
| 481 | asmlinkage void __exception_irq_entry do_local_timer(struct pt_regs *regs) | 481 | asmlinkage void __exception_irq_entry do_local_timer(struct pt_regs *regs) |
| 482 | { | 482 | { |
| 483 | handle_local_timer(regs); | ||
| 484 | } | ||
| 485 | |||
| 486 | void handle_local_timer(struct pt_regs *regs) | ||
| 487 | { | ||
| 483 | struct pt_regs *old_regs = set_irq_regs(regs); | 488 | struct pt_regs *old_regs = set_irq_regs(regs); |
| 484 | int cpu = smp_processor_id(); | 489 | int cpu = smp_processor_id(); |
| 485 | 490 | ||
