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
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
8extern unsigned int zone_dma_bits;
9
8#ifdef CONFIG_ARCH_HAS_PHYS_TO_DMA10#ifdef CONFIG_ARCH_HAS_PHYS_TO_DMA
9#include <asm/dma-direct.h>11#include <asm/dma-direct.h>
10#else12#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