diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-27 08:41:09 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-19 08:46:22 +0200 |
commit | f1306f0423ec02a1da31bab34006323fcadf2e06 (patch) | |
tree | 6edcc2311f1b7ef8912fdd3fc60d9a7be02ff84d /arch/riscv/Kconfig | |
parent | c3e4ed012ba79cc61513cc81af53c94e7af7db81 (diff) |
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>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 7817bbe0cfac..c4488ce8c2fa 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -48,7 +48,7 @@ config MMU config ZONE_DMA32 bool - default y + default y if 64BIT config PAGE_OFFSET hex |