fix IRQ register passing for i386 SMP platforms
PATCH 1/1 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 <[email protected]>
---
arch/i386/kernel/apic.c +1 -1
@@ -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 /*