diff options
| author | Vivian Wang <wangruikang@iscas.ac.cn> | 2026-07-13 11:29:52 -0600 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-07-13 11:29:52 -0600 |
| commit | b6ea9680f8c101967caf9981c2980b80b818ccbf (patch) | |
| tree | f1b42c4d4c07f5debcb951c7616ef76520ceae84 /tools/lib/python | |
| parent | a13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff) | |
riscv: mm: Make mark_new_valid_map() stuff depend on 64BIT && MMU
None of the code relating to mark_new_valid_map() does anything useful
without CONFIG_64BIT=y && CONFIG_MMU=y, because the
new_valid_map_cpus_check code is only used if CONFIG_64BIT, and the
exception codes checked there can only happen with CONFIG_MMU=y.
Therefore, make these conditional on CONFIG_64BIT=y && CONFIG_MMU=y to
simplify programming, since we do not have to handle CONFIG_MMU=n when
changing this code in the future. This also removes some unused code on
the entry path for CONFIG_MMU=n.
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn>
Link: https://patch.msgid.link/20260713-mark-after-vmemmap-populate-v6-1-b945ceba29d4@iscas.ac.cn
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
