summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-03-08 10:59:04 (GMT)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-04-08 18:51:46 (GMT)
commit10eceebeaac3049cad018d4a77c941a602cbd7a5 (patch)
tree6f1ad9d302855294fbf77554bd5cef4ba0eb0f36 /arch
parent191216b9289ed02256086e6bab4f668112109399 (diff)
downloadlinux-10eceebeaac3049cad018d4a77c941a602cbd7a5.tar.xz
x86-64: remove PGE from must-have feature list
PGE may not be available when running paravirtualized, so test the cpuid bit before using it. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/required-features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/required-features.h b/arch/x86/include/asm/required-features.h
index d5cd6c5..a4737dd 100644
--- a/arch/x86/include/asm/required-features.h
+++ b/arch/x86/include/asm/required-features.h
@@ -50,7 +50,7 @@
#ifdef CONFIG_X86_64
#define NEED_PSE 0
#define NEED_MSR (1<<(X86_FEATURE_MSR & 31))
-#define NEED_PGE (1<<(X86_FEATURE_PGE & 31))
+#define NEED_PGE 0
#define NEED_FXSR (1<<(X86_FEATURE_FXSR & 31))
#define NEED_XMM (1<<(X86_FEATURE_XMM & 31))
#define NEED_XMM2 (1<<(X86_FEATURE_XMM2 & 31))