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

Gregor Jasny
2006-10-06T08:03:49Z

[-- Attachment #1: Type: text/plain, Size: 87 bytes --]

Hi,

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

Gregor

[-- Attachment #2: apic-irq.diff --]
[-- Type: text/x-patch, Size: 435 bytes --]

Signed-off-by: Gregor Jasny <gjasny@web.de>
---
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

/*