diff options
author | Nicolas Saenz Julienne <nsaenzjulienne@suse.de> | 2019-10-14 21:31:03 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-11-01 12:41:18 +0300 |
commit | 8b5369ea580964dbc982781bfb9fb93459fc5e8d (patch) | |
tree | 55f4d7308e5fb1f4c5df396e637ba08bfa2daf46 /arch/powerpc/include/asm/page.h | |
parent | 4686da5140c18c84ca01a8ab994571d832c63398 (diff) | |
download | linux-8b5369ea580964dbc982781bfb9fb93459fc5e8d.tar.xz |
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/powerpc/include/asm/page.h')
-rw-r--r-- | arch/powerpc/include/asm/page.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/powerpc/include/asm/page.h b/arch/powerpc/include/asm/page.h index c8bb14ff4713..f6c562acc3f8 100644 --- a/arch/powerpc/include/asm/page.h +++ b/arch/powerpc/include/asm/page.h @@ -329,13 +329,4 @@ struct vm_area_struct; #endif /* __ASSEMBLY__ */ #include <asm/slice.h> -/* - * Allow 30-bit DMA for very limited Broadcom wifi chips on many powerbooks. - */ -#ifdef CONFIG_PPC32 -#define ARCH_ZONE_DMA_BITS 30 -#else -#define ARCH_ZONE_DMA_BITS 31 -#endif - #endif /* _ASM_POWERPC_PAGE_H */ |