[PATCH] x86: Relegate CONFIG_PAT to EMBEDDED

From: Arjan van de Ven
Date: Sun Oct 11 2009 - 11:40:15 EST


PAT support (which got added to CPUs over 10 years ago) is no longer
really optional in that more and more things are depending on PAT
just working, including newer versions of X. Having this as a regular
config option just no longer makes sense.

This patch relegates CONFIG_PAT to the EMBEDDED category, in the hope
to eventually completely retire it.

Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
---
arch/x86/Kconfig | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 4427956..16d9d40 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1393,7 +1393,8 @@ config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT

config X86_PAT
bool
- prompt "x86 PAT support"
+ default y
+ prompt "x86 PAT support" if EMBEDDED
depends on MTRR
---help---
Use PAT attributes to setup page level cache control.
--
1.6.2.5



--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/