aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2009-07-10 12:57:37 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-08-26 18:41:22 -0400
commit46cf98cdaef5471926010b5bddf84c44ec177fdd (patch)
treee4be7eb533b1d6bb090ceaa8b1a50c0970bf0ef2 /arch
parent335ef896d4c6639849d79367f0fef9abc06d121b (diff)
x86, pat: Generalize the use of page flag PG_uncached
Only IA64 was using PG_uncached as of now. We now intend to use this bit in x86 as well, to keep track of memory type of those addresses that have page struct for them. So, generalize the use of that bit across ia64 and x86. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/Kconfig4
-rw-r--r--arch/x86/Kconfig4
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index 170042b420d4..e6246119932a 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -112,6 +112,10 @@ config IA64_UNCACHED_ALLOCATOR
112 bool 112 bool
113 select GENERIC_ALLOCATOR 113 select GENERIC_ALLOCATOR
114 114
115config ARCH_USES_PG_UNCACHED
116 def_bool y
117 depends on IA64_UNCACHED_ALLOCATOR
118
115config AUDIT_ARCH 119config AUDIT_ARCH
116 bool 120 bool
117 default y 121 default y
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c07f72205909..8e1595382196 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1414,6 +1414,10 @@ config X86_PAT
1414 1414
1415 If unsure, say Y. 1415 If unsure, say Y.
1416 1416
1417config ARCH_USES_PG_UNCACHED
1418 def_bool y
1419 depends on X86_PAT
1420
1417config EFI 1421config EFI
1418 bool "EFI runtime service support" 1422 bool "EFI runtime service support"
1419 depends on ACPI 1423 depends on ACPI