commit | a5406a7ff56e63376c210b06072aa0ef23473366 | [log] [tgz] |
---|---|---|
author | Kefeng Wang <wangkefeng.wang@huawei.com> | Mon Mar 15 20:03:07 2021 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Tue Mar 16 22:15:21 2021 -0700 |
tree | cf5693b587ed47947094304a033d687742995e0a | |
parent | 78947bdfd75211cc9482cad01f95fe103a863110 [diff] |
riscv: Correct SPARSEMEM configuration There are two issues for RV32, 1) if use FLATMEM, it is useless to enable SPARSEMEM_STATIC. 2) if use SPARSMEM, both SPARSEMEM_VMEMMAP and SPARSEMEM_STATIC is enabled. Fixes: d95f1a542c3d ("RISC-V: Implement sparsemem") Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>