x86: Couple of small cleanups after cpuid faulting patch.

Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
Keir Fraser committed 2011-07-04 07:57:32 +01:00
1 parent d22d26c1a7
commit db39174bcd
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -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);
+1 -1
View File
@@ -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));
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.