[PATCH] i386: cpu_relax() in crash.c and doublefault.c
[deliverable/linux.git] / arch / i386 / kernel / crash.c
index 2b0cfce24a619af5105e11705adb771f5298c0a1..21dc1bbb806722bf26bf5d4348d01d386b72d7ce 100644 (file)
@@ -114,7 +114,8 @@ static int crash_nmi_callback(struct pt_regs *regs, int cpu)
        atomic_dec(&waiting_for_crash_ipi);
        /* Assume hlt works */
        halt();
-       for(;;);
+       for (;;)
+               cpu_relax();
 
        return 1;
 }
This page took 0.11611 seconds and 5 git commands to generate.