aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/crash.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-09-11 11:21:44 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-09-11 11:21:44 +0100
commitf7f39e3ac3944a3a56cfc57696347c485aea941c (patch)
tree047b450709370c721ed5bc0dc91c9e1904f07f76 /xen/arch/x86/crash.c
parent6c87e8965f14724ca668952d36f14cf8a0e687c1 (diff)
downloadxen-f7f39e3ac3944a3a56cfc57696347c485aea941c.tar.gz
xen-f7f39e3ac3944a3a56cfc57696347c485aea941c.tar.bz2
xen-f7f39e3ac3944a3a56cfc57696347c485aea941c.zip
x86: Use halt() macro instead of direct HLT asm.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/crash.c')
-rw-r--r--xen/arch/x86/crash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/crash.c b/xen/arch/x86/crash.c
index 398fd781d2..831dc7e04d 100644
--- a/xen/arch/x86/crash.c
+++ b/xen/arch/x86/crash.c
@@ -46,7 +46,7 @@ static int crash_nmi_callback(struct cpu_user_regs *regs, int cpu)
hvm_cpu_down();
for ( ; ; )
- __asm__ __volatile__ ( "hlt" );
+ halt();
return 1;
}