Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

riscv: only enable ZONE_DMA32 for 64-bit

Until we actually support > 32bit physical addresses for 32-bit using
highmem there is no point in enabling ZONE_DMA32. And even if such
support is ever added it probably should be conditional to not burden
low end embedded devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>

+1 -1
+1 -1
arch/riscv/Kconfig
··· 48 48 49 49 config ZONE_DMA32 50 50 bool 51 - default y 51 + default y if 64BIT 52 52 53 53 config PAGE_OFFSET 54 54 hex