Skip to contentSkip to conversation

x86-64 linux: don't use hlt instruction

PATCH Superseded Jan Beulich 1 participant 1 message May 23, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86-64 linux: don't use hlt instruction

Use halt() instead (respective mainline patch will be submitted soon).

arch/x86_64/kernel/smp-xen.c +1 -1
Index: head-2006-05-19/arch/x86_64/kernel/smp-xen.c
===================================================================
@@ -488,7 +488,7 @@ static void smp_really_stop_cpu(void *du
 {
 	smp_stop_cpu(); 
 	for (;;) 
-		asm("hlt"); 
+		halt();
 } 
 
 void smp_send_stop(void)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel