Skip to contentSkip to conversation

x86-64: access only 4 bytes a the reset vector location

PATCH New Jan Beulich 1 participant 1 message Nov 22, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86-64: access only 4 bytes a the reset vector location

Apparently the code was taken unmodified from 32-bit Linux...

xen/include/asm-x86/mach-default/smpboot_hooks.h +1 -1
Index: 2007-11-13/xen/include/asm-x86/mach-default/smpboot_hooks.h
===================================================================
@@ -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)