Re: [PATCH 3/3] IRQ: Maintain regs pointer globally rather than passing to IRQ handlers

From: Gregor Jasny
Date: Fri Oct 06 2006 - 04:04:24 EST


Hi,

I need the following patch to compile the latest git snapshot from Linus.

Gregor Signed-off-by: Gregor Jasny <gjasny@xxxxxx>
---
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
index 7d500da..2fd4b7d 100644
--- a/arch/i386/kernel/apic.c
+++ b/arch/i386/kernel/apic.c
@@ -1197,7 +1197,7 @@ inline void smp_local_timer_interrupt(vo
{
profile_tick(CPU_PROFILING);
#ifdef CONFIG_SMP
- update_process_times(user_mode_vm(irq_regs));
+ update_process_times(user_mode_vm(get_irq_regs()));
#endif

/*