xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 resend 2/2] xc_cpuid_x86.c: Remove limit for RDTSCP
@ 2014-09-09  7:55 Zhuo Song
  0 siblings, 0 replies; only message in thread
From: Zhuo Song @ 2014-09-09  7:55 UTC (permalink / raw)
  To: xen-devel
  Cc: ian.campbell, stefano.stabellini, jinsong.liu, ian.jackson,
	Zhuo Song, Zhuo Song, boyu.mt, JBeulich

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@alibaba-inc.com>
---
 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)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-09  7:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09  7:55 [PATCH v2 resend 2/2] xc_cpuid_x86.c: Remove limit for RDTSCP Zhuo Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).