History

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.

Nicolas Saenz Julienne committed 7 years ago

Commit 8b5369e1 parent 4686da58 files · +31 −27Browse files

Showing the changes to include/linux (1 of 8 files). Show all

Unified · Split

include/linux/dma-direct.h+2−0
@@ -5,6 +5,8 @@ · 4 unmodified lines
55 #include <linux/dma-mapping.h>
66 #include <linux/mem_encrypt.h>
77
8+extern unsigned int zone_dma_bits;
9+
810 #ifdef CONFIG_ARCH_HAS_PHYS_TO_DMA
911 #include <asm/dma-direct.h>
1012 #else

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t