public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix IRQ register passing for i386 SMP platforms
@ 2006-10-06 16:26 Andy Whitcroft
  0 siblings, 0 replies; only message in thread
From: Andy Whitcroft @ 2006-10-06 16:26 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: David Howells, Andrew Morton, linux-kernel, Andy Whitcroft

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 <apw@shadowen.org>
---
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
 
 	/*

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-06 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06 16:26 [PATCH] fix IRQ register passing for i386 SMP platforms Andy Whitcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox