Skip to contentSkip to conversation

xc_cpuid_x86.c: Remove limit for RDTSCP

PATCH RESEND New Zhuo Song 1 participant 1 message Sep 9, 2014

lore
Share & tools
lore

Zhuo Song

author
#0 lore raw

PATCH RESEND v2 2/2 xc_cpuid_x86.c: Remove limit for RDTSCP

Since RDTSCP could be used for both 64-bit and 32-bit architectures, we do not need the tying to 64-bit in intel_xc_cpuid_policy().

---
 tools/libxc/xc_cpuid_x86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxc/xc_cpuid_x86.c +1 -1
index 710fd61..a4829ce 100644
@@ -193,7 +193,7 @@ static void intel_xc_cpuid_policy(
         regs[3] &= (bitmaskof(X86_FEATURE_NX) |
                     bitmaskof(X86_FEATURE_LM) |
                     (is_pae ? bitmaskof(X86_FEATURE_SYSCALL) : 0) |
-                    (is_pae ? bitmaskof(X86_FEATURE_RDTSCP) : 0));
+                    bitmaskof(X86_FEATURE_RDTSCP));
         break;
     }
 
Signature · 1 line
1.8.5.2 (Apple Git-48)