From: "Jan Beulich" Subject: [PATCH] x86-64 linux: don't use hlt instruction Date: Tue, 23 May 2006 16:54:53 +0200 Message-ID: <44733E5D.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part50756A2D.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part50756A2D.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Use halt() instead (respective mainline patch will be submitted soon). Signed-off-by: Jan Beulich --=__Part50756A2D.0__= Content-Type: text/plain; name="xenlinux-x86_64-halt.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xenlinux-x86_64-halt.patch" Index: head-2006-05-19/arch/x86_64/kernel/smp-xen.c =================================================================== --- head-2006-05-19.orig/arch/x86_64/kernel/smp-xen.c 2006-05-19 10:26:04.000000000 +0200 +++ head-2006-05-19/arch/x86_64/kernel/smp-xen.c 2006-05-23 14:44:13.000000000 +0200 @@ -488,7 +488,7 @@ static void smp_really_stop_cpu(void *du { smp_stop_cpu(); for (;;) - asm("hlt"); + halt(); } void smp_send_stop(void) --=__Part50756A2D.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part50756A2D.0__=--