diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-11 04:59:46 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-11 04:59:46 -0400 |
commit | 701328a7b58d50d8640c21ba5fdf3170b1ddac16 (patch) | |
tree | 99a3fe44310a97e92ad1cb3a01f2ee3f6ed0d59a /arch/arm/kernel/time.c | |
parent | 53e36ada37cb8b01cfbf674580a79edc0bb764c7 (diff) | |
parent | 53a5fbdc2dff55161a206ed1a1385a8fa8055c34 (diff) |
Merge branch 'master' into upstream-fixes
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); |