From 01fc061d9851463296347d3834185ea5c5618a68 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 31 Mar 2010 09:24:25 -0700 Subject: core: make sure we observe EFLAGS_ID only When looking for CPUID, make sure we only look at EFLAGS_ID and no other flags that could possibly have changed for extrinsic reasons. Signed-off-by: H. Peter Anvin --- core/cpuinit.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/core/cpuinit.inc b/core/cpuinit.inc index cad9b814..4332fbc1 100644 --- a/core/cpuinit.inc +++ b/core/cpuinit.inc @@ -60,6 +60,7 @@ check_xen: pop eax popfd xor eax,edx + and eax,(1 << 21) jz .not_xen ; No CPUID xor ebx,ebx -- cgit v1.2.1