diff options
Diffstat (limited to 'include/asm-i386/mach-default/do_timer.h')
-rw-r--r-- | include/asm-i386/mach-default/do_timer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-i386/mach-default/do_timer.h b/include/asm-i386/mach-default/do_timer.h index 4182c347ef85..7d606e3364ae 100644 --- a/include/asm-i386/mach-default/do_timer.h +++ b/include/asm-i386/mach-default/do_timer.h | |||
@@ -14,11 +14,11 @@ | |||
14 | * timer interrupt as a means of triggering reschedules etc. | 14 | * timer interrupt as a means of triggering reschedules etc. |
15 | **/ | 15 | **/ |
16 | 16 | ||
17 | static inline void do_timer_interrupt_hook(struct pt_regs *regs) | 17 | static inline void do_timer_interrupt_hook(void) |
18 | { | 18 | { |
19 | do_timer(1); | 19 | do_timer(1); |
20 | #ifndef CONFIG_SMP | 20 | #ifndef CONFIG_SMP |
21 | update_process_times(user_mode_vm(regs)); | 21 | update_process_times(user_mode_vm(get_irq_regs())); |
22 | #endif | 22 | #endif |
23 | /* | 23 | /* |
24 | * In the SMP case we use the local APIC timer interrupt to do the | 24 | * In the SMP case we use the local APIC timer interrupt to do the |
@@ -26,10 +26,10 @@ static inline void do_timer_interrupt_hook(struct pt_regs *regs) | |||
26 | * system, in that case we have to call the local interrupt handler. | 26 | * system, in that case we have to call the local interrupt handler. |
27 | */ | 27 | */ |
28 | #ifndef CONFIG_X86_LOCAL_APIC | 28 | #ifndef CONFIG_X86_LOCAL_APIC |
29 | profile_tick(CPU_PROFILING, regs); | 29 | profile_tick(CPU_PROFILING); |
30 | #else | 30 | #else |
31 | if (!using_apic_timer) | 31 | if (!using_apic_timer) |
32 | smp_local_timer_interrupt(regs); | 32 | smp_local_timer_interrupt(); |
33 | #endif | 33 | #endif |
34 | } | 34 | } |
35 | 35 | ||