aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2010-10-20 18:55:35 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2010-10-20 19:02:42 -0400
commit66f2b061546974b96b7b238a92ce89a87ecf0754 (patch)
tree7fb27bc9a7143bea2fa1abf89bee4fc2a87aa9bc /arch/x86/Kconfig
parent932967202182743c01a2eee4bdfa2c42697bc586 (diff)
x86, mm: Enable ARCH_DMA_ADDR_T_64BIT with X86_64 || HIGHMEM64G
Set CONFIG_ARCH_DMA_ADDR_T_64BIT when we set dma_addr_t to 64 bits in <asm/types.h>; this allows Kconfig decisions based on this property. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> LKML-Reference: <201010202255.o9KMtZXu009370@imap1.linux-foundation.org> Acked-by: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index cea0cd9a316f..2924f4e77791 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1148,6 +1148,9 @@ config X86_PAE
1148config ARCH_PHYS_ADDR_T_64BIT 1148config ARCH_PHYS_ADDR_T_64BIT
1149 def_bool X86_64 || X86_PAE 1149 def_bool X86_64 || X86_PAE
1150 1150
1151config ARCH_DMA_ADDR_T_64BIT
1152 def_bool X86_64 || HIGHMEM64G
1153
1151config DIRECT_GBPAGES 1154config DIRECT_GBPAGES
1152 bool "Enable 1GB pages for kernel pagetables" if EMBEDDED 1155 bool "Enable 1GB pages for kernel pagetables" if EMBEDDED
1153 default y 1156 default y