summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/crash.c
diff options
context:
space:
mode:
authorZachary Amsden2005-09-04 00:56:42 +0200
committerLinus Torvalds2005-09-05 09:06:12 +0200
commitf2ab4461249df85b20930a7a57b54f39c5ae291a (patch)
tree17fbe46fdc6e95bf24faccb6001d89c989442f6f /arch/i386/kernel/crash.c
parent[PATCH] i386: fix incorrect TSS entry for LDT (diff)
downloadkernel-qcow2-linux-f2ab4461249df85b20930a7a57b54f39c5ae291a.tar.gz
kernel-qcow2-linux-f2ab4461249df85b20930a7a57b54f39c5ae291a.tar.xz
kernel-qcow2-linux-f2ab4461249df85b20930a7a57b54f39c5ae291a.zip
[PATCH] x86: more asm cleanups
Some more assembler cleanups I noticed along the way. Signed-off-by: Zachary Amsden <zach@vmware.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/crash.c')
-rw-r--r--arch/i386/kernel/crash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/crash.c b/arch/i386/kernel/crash.c
index e5fab12f7926..913be77bb844 100644
--- a/arch/i386/kernel/crash.c
+++ b/arch/i386/kernel/crash.c
@@ -153,7 +153,7 @@ static int crash_nmi_callback(struct pt_regs *regs, int cpu)
disable_local_APIC();
atomic_dec(&waiting_for_crash_ipi);
/* Assume hlt works */
- __asm__("hlt");
+ halt();
for(;;);
return 1;