]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - include/asm-i386/mach-voyager/do_timer.h
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
[mirror_ubuntu-jammy-kernel.git] / include / asm-i386 / mach-voyager / do_timer.h
index 099fe9f5c1b2bcc922079c7fa64b21b197d864b7..04e69c104a74616fa18b3e926a31682a520b9cf2 100644 (file)
@@ -1,14 +1,14 @@
 /* defines for inline arch setup functions */
 #include <asm/voyager.h>
 
-static inline void do_timer_interrupt_hook(struct pt_regs *regs)
+static inline void do_timer_interrupt_hook(void)
 {
        do_timer(1);
 #ifndef CONFIG_SMP
-       update_process_times(user_mode_vm(regs));
+       update_process_times(user_mode_vm(irq_regs));
 #endif
 
-       voyager_timer_interrupt(regs);
+       voyager_timer_interrupt();
 }
 
 static inline int do_timer_overflow(int count)