From: FUJITA Tomonori Date: Wed, 20 Oct 2010 22:55:35 +0000 (-0700) Subject: x86, mm: Enable ARCH_DMA_ADDR_T_64BIT with X86_64 || HIGHMEM64G X-Git-Tag: v3.0~3108^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66f2b061546974b96b7b238a92ce89a87ecf0754;p=platform%2Fkernel%2Flinux-amlogic.git 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 ; this allows Kconfig decisions based on this property. Signed-off-by: FUJITA Tomonori LKML-Reference: <201010202255.o9KMtZXu009370@imap1.linux-foundation.org> Acked-by: "H. Peter Anvin" Signed-off-by: Andrew Morton Signed-off-by: H. Peter Anvin --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index cea0cd9..2924f4e 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1148,6 +1148,9 @@ config X86_PAE config ARCH_PHYS_ADDR_T_64BIT def_bool X86_64 || X86_PAE +config ARCH_DMA_ADDR_T_64BIT + def_bool X86_64 || HIGHMEM64G + config DIRECT_GBPAGES bool "Enable 1GB pages for kernel pagetables" if EMBEDDED default y