Some architectures, notably ARM, are interested in tweaking this depending on their runtime DMA addressing limitations.
Showing the changes to include/linux (1 of 8 files). Show all
Unified · Split
| @@ -5,6 +5,8 @@ · 4 unmodified lines | |||
| 5 | #include <linux/dma-mapping.h> | 5 | #include <linux/dma-mapping.h> |
| 6 | #include <linux/mem_encrypt.h> | 6 | #include <linux/mem_encrypt.h> |
| 7 | 7 | ||
| 8 | extern unsigned int zone_dma_bits; | ||
| 9 | |||
| 8 | #ifdef CONFIG_ARCH_HAS_PHYS_TO_DMA | 10 | #ifdef CONFIG_ARCH_HAS_PHYS_TO_DMA |
| 9 | #include <asm/dma-direct.h> | 11 | #include <asm/dma-direct.h> |
| 10 | #else | 12 | #else |