diff options
Diffstat (limited to 'arch/m68knommu/kernel/time.c')
-rw-r--r-- | arch/m68knommu/kernel/time.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68knommu/kernel/time.c b/arch/m68knommu/kernel/time.c index 9226264abf1a..11ea217ed5cf 100644 --- a/arch/m68knommu/kernel/time.c +++ b/arch/m68knommu/kernel/time.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <asm/machdep.h> | 24 | #include <asm/machdep.h> |
25 | #include <asm/io.h> | 25 | #include <asm/io.h> |
26 | #include <asm/irq_regs.h> | ||
26 | 27 | ||
27 | #define TICK_SIZE (tick_nsec / 1000) | 28 | #define TICK_SIZE (tick_nsec / 1000) |
28 | 29 | ||
@@ -38,7 +39,7 @@ static inline int set_rtc_mmss(unsigned long nowtime) | |||
38 | * timer_interrupt() needs to keep up the real-time clock, | 39 | * timer_interrupt() needs to keep up the real-time clock, |
39 | * as well as call the "do_timer()" routine every clocktick | 40 | * as well as call the "do_timer()" routine every clocktick |
40 | */ | 41 | */ |
41 | static irqreturn_t timer_interrupt(int irq, void *dummy, struct pt_regs * regs) | 42 | static irqreturn_t timer_interrupt(int irq, void *dummy) |
42 | { | 43 | { |
43 | /* last time the cmos clock got updated */ | 44 | /* last time the cmos clock got updated */ |
44 | static long last_rtc_update=0; | 45 | static long last_rtc_update=0; |
@@ -51,7 +52,7 @@ static irqreturn_t timer_interrupt(int irq, void *dummy, struct pt_regs * regs) | |||
51 | 52 | ||
52 | do_timer(1); | 53 | do_timer(1); |
53 | #ifndef CONFIG_SMP | 54 | #ifndef CONFIG_SMP |
54 | update_process_times(user_mode(regs)); | 55 | update_process_times(user_mode(get_irq_regs())); |
55 | #endif | 56 | #endif |
56 | if (current->pid) | 57 | if (current->pid) |
57 | profile_tick(CPU_PROFILING); | 58 | profile_tick(CPU_PROFILING); |