diff options
author | Nicolas Saenz Julienne <nsaenzjulienne@suse.de> | 2019-10-14 20:31:03 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-11-01 09:41:18 +0000 |
commit | 8b5369ea580964dbc982781bfb9fb93459fc5e8d (patch) | |
tree | 55f4d7308e5fb1f4c5df396e637ba08bfa2daf46 /arch/s390/include/asm/page.h | |
parent | 4686da5140c18c84ca01a8ab994571d832c63398 (diff) |
dma/direct: turn ARCH_ZONE_DMA_BITS into a variable
Some architectures, notably ARM, are interested in tweaking this
depending on their runtime DMA addressing limitations.
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/s390/include/asm/page.h')
-rw-r--r-- | arch/s390/include/asm/page.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/page.h b/arch/s390/include/asm/page.h index 823578c6b9e2..a4d38092530a 100644 --- a/arch/s390/include/asm/page.h +++ b/arch/s390/include/asm/page.h @@ -177,8 +177,6 @@ static inline int devmem_is_allowed(unsigned long pfn) #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | \ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) -#define ARCH_ZONE_DMA_BITS 31 - #include <asm-generic/memory_model.h> #include <asm-generic/getorder.h> |