riscv: Enable CMA support
authorKefeng Wang <wangkefeng.wang@huawei.com>
Sat, 31 Oct 2020 06:01:12 +0000 (14:01 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 21 Nov 2020 01:58:18 +0000 (17:58 -0800)
commitda815582cf4594e96defa1cddb72cd00b1e7aac5
tree2ec70322eea726d2523c1158bc7da8cbf7013758
parentae386e9d809c6c7990c5414ea9ae035731ca0f81
riscv: Enable CMA support

riscv has selected HAVE_DMA_CONTIGUOUS, but doesn't call
dma_contiguous_reserve().  This calls dma_contiguous_reserve(), which
enables CMA.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/mm/init.c