mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: Couple of small cleanups after cpuid faulting patch.
Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
1 parent
d22d26c1a7
commit
db39174bcd
2 files changed
+1
-2
No files matched your search
@@ -30,4 +30,3 @@ extern void display_cacheinfo(struct cpuinfo_x86 *c);
|
||||
extern void generic_identify(struct cpuinfo_x86 * c);
|
||||
|
||||
extern void early_intel_workaround(struct cpuinfo_x86 *c);
|
||||
extern void intel_cpuid_faulting_flip(unsigned int enable);
|
||||
@@ -27,7 +27,7 @@ struct movsl_mask movsl_mask __read_mostly;
|
||||
|
||||
static unsigned int probe_intel_cpuid_faulting(void)
|
||||
{
|
||||
uint32_t x;
|
||||
uint64_t x;
|
||||
return !rdmsr_safe(MSR_INTEL_PLATFORM_INFO, x) && (x & (1u<<31));
|
||||
}
|
||||
|
||||
|
||||