]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
x86-64: access only 4 bytes a the reset vector location on smpboot.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 6 Dec 2007 17:01:46 +0000 (17:01 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 6 Dec 2007 17:01:46 +0000 (17:01 +0000)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   16422:db98e4676d3ffe4a609b29ddef4a8e08016e4a43
xen-unstable date:        Thu Nov 22 14:12:47 2007 +0000

xen/include/asm-x86/mach-default/smpboot_hooks.h

index 104de09d4d7bd63b255850102a88fe005ec3b0f1..bbe6aac279ff7ba09696c6ce499a4c980cc62566 100644 (file)
@@ -30,7 +30,7 @@ static inline void smpboot_restore_warm_reset_vector(void)
         */
        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)