diff options
author | Leonardo Bras <[email protected]> | 2024-01-03 13:00:19 -0300 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-03-19 16:39:36 -0700 |
commit | 6be7ee4bebd14b8e7e040a5e7fd6aec3d9167c72 (patch) | |
tree | 0d10e98b0b0e0ba00342229f266cdd5bc37111d7 /scripts/rustdoc_test_builder.rs | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
riscv: Improve arch_get_mmap_end() macro
This macro caused me some confusion, which took some reviewer's time to
make it clear, so I propose adding a short comment in code to avoid
confusion in the future.
Also, added some improvements to the macro, such as removing the
assumption of VA_USER_SV57 being the largest address space.
Signed-off-by: Leonardo Bras <[email protected]>
Reviewed-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions