提交 f1306f04 编写于 作者: C Christoph Hellwig

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: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NPalmer Dabbelt <palmer@sifive.com>
上级 c3e4ed01
...@@ -48,7 +48,7 @@ config MMU ...@@ -48,7 +48,7 @@ config MMU
config ZONE_DMA32 config ZONE_DMA32
bool bool
default y default y if 64BIT
config PAGE_OFFSET config PAGE_OFFSET
hex hex
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册