Jan Beulich
2007-Nov-22 12:41 UTC
[Xen-devel] [PATCH] x86-64: access only 4 bytes a the reset vector location
Apparently the code was taken unmodified from 32-bit Linux... Signed-off-by: Jan Beulich <jbeulich@novell.com> Index: 2007-11-13/xen/include/asm-x86/mach-default/smpboot_hooks.h ==================================================================--- 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); - *((volatile long *) maddr_to_virt(0x467)) = 0; + *((volatile int *) maddr_to_virt(0x467)) = 0; } static inline void smpboot_setup_io_apic(void) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel