[lkml]   [2006]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] fix IRQ register passing for i386 SMP platforms
fix IRQ register passing for i386 SMP platforms

Seems that the i386 SMP conversion for the new global irq regs
is not quite there. Results in the following compile errors:

arch/i386/kernel/apic.c: In function `smp_local_timer_interrupt':
arch/i386/kernel/apic.c:1200: error: `irq_regs' undeclared (first
use in this function)
arch/i386/kernel/apic.c:1200: error: (Each undeclared
identifier is reported only once
arch/i386/kernel/apic.c:1200: error: for each function it appears in.)

Fix it up.

Signed-off-by: Andy Whitcroft <>
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
- update_process_times(user_mode_vm(irq_regs));
+ update_process_times(user_mode_vm(get_irq_regs()));

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2006-10-06 18:29    [W:0.035 / U:0.824 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site