Skip to content

Commit f1306f0

Browse files
author
Christoph Hellwig
committed
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 parent c3e4ed0 commit f1306f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/riscv/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ config MMU
4848

4949
config ZONE_DMA32
5050
bool
51-
default y
51+
default y if 64BIT
5252

5353
config PAGE_OFFSET
5454
hex

0 commit comments

Comments
 (0)