mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
arch: define the ARCH_DMA_ADDR_T_64BIT config symbol in lib/Kconfig
Define this symbol if the architecture either uses 64-bit pointers or the PHYS_ADDR_T_64BIT is set. This covers 95% of the old arch magic. We only need an additional select for Xen on ARM (why anyway?), and we now always set ARCH_DMA_ADDR_T_64BIT on mips boards with 64-bit physical addressing instead of only doing it when highmem is set. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: James Hogan <[email protected]>
This commit is contained in:
parent
d4a451d5fc
commit
4965a68780
19 changed files with 3 additions and 42 deletions
|
|
@ -435,6 +435,9 @@ config NEED_SG_DMA_LENGTH
|
|||
config NEED_DMA_MAP_STATE
|
||||
bool
|
||||
|
||||
config ARCH_DMA_ADDR_T_64BIT
|
||||
def_bool 64BIT || PHYS_ADDR_T_64BIT
|
||||
|
||||
config IOMMU_HELPER
|
||||
bool
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue