[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.