OSDN Git Service

riscv: only enable ZONE_DMA32 for 64-bit
authorChristoph Hellwig <hch@lst.de>
Fri, 27 Apr 2018 06:41:09 +0000 (08:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 19 May 2018 06:46:22 +0000 (08:46 +0200)
commitf1306f0423ec02a1da31bab34006323fcadf2e06
tree6edcc2311f1b7ef8912fdd3fc60d9a7be02ff84d
parentc3e4ed012ba79cc61513cc81af53c94e7af7db81
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>
arch/riscv/Kconfig