[PATCH] i386: add idle notifier
[sfrench/cifs-2.6.git] / arch / i386 / kernel / smp.c
index 5285aff8367fec481d33a7ed94c0278815202286..ffc4f65c51896f645ddc83ec9c6978e3ca44a093 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <asm/mtrr.h>
 #include <asm/tlbflush.h>
+#include <asm/idle.h>
 #include <mach_apic.h>
 
 /*
@@ -624,6 +625,7 @@ fastcall void smp_call_function_interrupt(struct pt_regs *regs)
        /*
         * At this point the info structure may be out of scope unless wait==1
         */
+       exit_idle();
        irq_enter();
        (*func)(info);
        irq_exit();