diff options
Diffstat (limited to 'arch/arm/kernel/time.c')
-rw-r--r-- | arch/arm/kernel/time.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index b030320b17c7..c03cab5c4c79 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/profile.h> | 27 | #include <linux/profile.h> |
28 | #include <linux/sysdev.h> | 28 | #include <linux/sysdev.h> |
29 | #include <linux/timer.h> | 29 | #include <linux/timer.h> |
30 | #include <linux/irq.h> | ||
30 | 31 | ||
31 | #include <asm/leds.h> | 32 | #include <asm/leds.h> |
32 | #include <asm/thread_info.h> | 33 | #include <asm/thread_info.h> |
@@ -324,9 +325,10 @@ EXPORT_SYMBOL(restore_time_delta); | |||
324 | /* | 325 | /* |
325 | * Kernel system timer support. | 326 | * Kernel system timer support. |
326 | */ | 327 | */ |
327 | void timer_tick(struct pt_regs *regs) | 328 | void timer_tick(void) |
328 | { | 329 | { |
329 | profile_tick(CPU_PROFILING, regs); | 330 | struct pt_regs *regs = get_irq_regs(); |
331 | profile_tick(CPU_PROFILING); | ||
330 | do_leds(); | 332 | do_leds(); |
331 | do_set_rtc(); | 333 | do_set_rtc(); |
332 | do_timer(1); | 334 | do_timer(1); |