diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-07-13 18:12:15 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-07-13 18:12:15 +0100 |
commit | 917335d8b352cb59b5d54592693d80f160582d83 (patch) | |
tree | 6f0a58884f1bd6e942f9d49995cf09630cab20ae /xen/arch/x86/boot/head.S | |
parent | f65bd343b074358ce3222e9aebd70908d0362f25 (diff) | |
download | xen-917335d8b352cb59b5d54592693d80f160582d83.tar.gz xen-917335d8b352cb59b5d54592693d80f160582d83.tar.bz2 xen-917335d8b352cb59b5d54592693d80f160582d83.zip |
x86: Avoid assumptions about C struct layouts from asm code.
Largely this involves avoiding assumptions about 'struct cpu_info'.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/boot/head.S')
-rw-r--r-- | xen/arch/x86/boot/head.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S index 139797c799..aa657234d5 100644 --- a/xen/arch/x86/boot/head.S +++ b/xen/arch/x86/boot/head.S @@ -101,7 +101,7 @@ __start: mov $0x80000001,%eax cpuid 1: mov %edx,sym_phys(cpuid_ext_features) - mov %edx,sym_phys(boot_cpu_data)+CPUINFO_ext_features + mov %edx,sym_phys(boot_cpu_data)+CPUINFO86_ext_features #if defined(__x86_64__) /* Check for availability of long mode. */ |