Use halt() instead of asm("hlt").
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 2 Jun 2006 11:14:27 +0000 (12:14 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 2 Jun 2006 11:14:27 +0000 (12:14 +0100)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
linux-2.6-xen-sparse/arch/x86_64/kernel/smp-xen.c

index 148bb939f23207e6a3b51e85091f8a0b409f8c2d..0406973b1da3b6bb89b39f11283fc206827e88f7 100644 (file)
@@ -488,7 +488,7 @@ static void smp_really_stop_cpu(void *dummy)
 {
        smp_stop_cpu(); 
        for (;;) 
-               asm("hlt"); 
+               halt();
 } 
 
 void smp_send_stop(void)