Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1306f04 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent c3e4ed01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ config MMU

config ZONE_DMA32
	bool
	default y
	default y if 64BIT

config PAGE_OFFSET
	hex