From: "Jan Beulich" Subject: [PATCH] x86-64: access only 4 bytes a the reset vector location Date: Thu, 22 Nov 2007 12:41:28 +0000 Message-ID: <47458708.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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 Apparently the code was taken unmodified from 32-bit Linux... Signed-off-by: Jan Beulich Index: 2007-11-13/xen/include/asm-x86/mach-default/smpboot_hooks.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2007-11-13.orig/xen/include/asm-x86/mach-default/smpboot_hooks.h = 2007-10-22 16:06:02.000000000 +0200 +++ 2007-11-13/xen/include/asm-x86/mach-default/smpboot_hooks.h 2007-11-20 = 14:22:19.000000000 +0100 @@ -30,7 +30,7 @@ static inline void smpboot_restore_warm_ */ CMOS_WRITE(0, 0xf); =20 - *((volatile long *) maddr_to_virt(0x467)) =3D 0; + *((volatile int *) maddr_to_virt(0x467)) =3D 0; } =20 static inline void smpboot_setup_io_apic(void)