[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v2 resend 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().

Signed-off-by: Zhuo Song <songzhuo.sz@xxxxxxxxxxxxxxx>
---
 tools/libxc/xc_cpuid_x86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c
index 710fd61..a4829ce 100644
--- a/tools/libxc/xc_cpuid_x86.c
+++ b/tools/libxc/xc_cpuid_x86.c
@@ -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;
     }
 
-- 
1.8.5.2 (Apple Git-48)


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.