aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/mach-default
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2007-11-22 14:12:47 +0000
committerKeir Fraser <keir.fraser@citrix.com>2007-11-22 14:12:47 +0000
commit2e7b17d9e3c91c2b7c7c63cab0b4aba119a01fe0 (patch)
tree076baf956f48842b6fa85811097af3b6bd0be7df /xen/include/asm-x86/mach-default
parent8b2403f5d73da73e73a15ffede3518277d926048 (diff)
downloadxen-2e7b17d9e3c91c2b7c7c63cab0b4aba119a01fe0.tar.gz
xen-2e7b17d9e3c91c2b7c7c63cab0b4aba119a01fe0.tar.bz2
xen-2e7b17d9e3c91c2b7c7c63cab0b4aba119a01fe0.zip
x86-64: access only 4 bytes a the reset vector location on smpboot.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/mach-default')
-rw-r--r--xen/include/asm-x86/mach-default/smpboot_hooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/mach-default/smpboot_hooks.h b/xen/include/asm-x86/mach-default/smpboot_hooks.h
index 5b4dac9518..48e589e018 100644
--- a/xen/include/asm-x86/mach-default/smpboot_hooks.h
+++ b/xen/include/asm-x86/mach-default/smpboot_hooks.h
@@ -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)