aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/boot
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-11-13 20:08:39 +0000
committerKeir Fraser <keir@xensource.com>2007-11-13 20:08:39 +0000
commit39b6f0629adacfc86819c26074c79ddb34acc326 (patch)
treecb45cbd9e5d0a14a53f666014d82dd91954cf77c /xen/arch/x86/boot
parent3192c29b6aa686e1c3f1a63aa3489331a21f0967 (diff)
downloadxen-39b6f0629adacfc86819c26074c79ddb34acc326.tar.gz
xen-39b6f0629adacfc86819c26074c79ddb34acc326.tar.bz2
xen-39b6f0629adacfc86819c26074c79ddb34acc326.zip
x86: Do not read/write EFER MSR if it doesn't exist.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/boot')
-rw-r--r--xen/arch/x86/boot/head.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S
index 168bedefd4..775c89a45b 100644
--- a/xen/arch/x86/boot/head.S
+++ b/xen/arch/x86/boot/head.S
@@ -98,6 +98,7 @@ __start:
mov $0x80000001,%eax
cpuid
1: mov %edx,sym_phys(cpuid_ext_features)
+ mov %edx,sym_phys(boot_cpu_data)+CPUINFO_ext_features
#if defined(__x86_64__)
/* Check for availability of long mode. */