Skip to contentSkip to conversation

x86, mm: Enable ARCH_DMA_ADDR_T_64BIT with X86_64 || HIGHMEM64G

tip:x86/mm tip-bot for FUJITA Tomonori 1 participant 1 message Oct 20, 2010 1 message not in the archive x86

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Commit-ID:  66f2b061546974b96b7b238a92ce89a87ecf0754
Gitweb:     http://git.kernel.org/tip/66f2b061546974b96b7b238a92ce89a87ecf0754
Author:     FUJITA Tomonori <[email protected]>
AuthorDate: Wed, 20 Oct 2010 15:55:35 -0700
Committer:  H. Peter Anvin <[email protected]>
CommitDate: Wed, 20 Oct 2010 16:02:42 -0700

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.

LKML-Reference: <[email protected]>

---
 arch/x86/Kconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/x86/Kconfig +3 -0
index cea0cd9..2924f4e 100644
@@ -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