diff options
author | Atish Patra <[email protected]> | 2020-06-17 13:37:32 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2020-06-18 18:46:09 -0700 |
commit | 0e2c09011d4de4161f615ff860a605a9186cf62a (patch) | |
tree | b282cc26e2b2bd69ffc29280535664da6056606f /lib/debugobjects.c | |
parent | e0d17c842c0f824fd4df9f4688709fc6907201e1 (diff) |
RISC-V: Acquire mmap lock before invoking walk_page_range
As per walk_page_range documentation, mmap lock should be acquired by the
caller before invoking walk_page_range. mmap_assert_locked gets triggered
without that. The details can be found here.
http://lists.infradead.org/pipermail/linux-riscv/2020-June/010335.html
Fixes: 395a21ff859c(riscv: add ARCH_HAS_SET_DIRECT_MAP support)
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Michel Lespinasse <[email protected]>
Reviewed-by: Zong Li <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions