projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] i386: cpu_relax() in crash.c and doublefault.c
[deliverable/linux.git]
/
arch
/
i386
/
kernel
/
crash.c
diff --git
a/arch/i386/kernel/crash.c
b/arch/i386/kernel/crash.c
index 2b0cfce24a619af5105e11705adb771f5298c0a1..21dc1bbb806722bf26bf5d4348d01d386b72d7ce 100644
(file)
--- a/
arch/i386/kernel/crash.c
+++ b/
arch/i386/kernel/crash.c
@@
-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.