diff options
author | Alexandre Ghiti <[email protected]> | 2021-06-24 14:00:40 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-06-30 20:56:50 -0700 |
commit | c10bc260e7c030364b5150aac7ebf048ddfb9502 (patch) | |
tree | 73c0c95f9270ad03463ab4e0483b85e692f4469f /tools/testing/selftests/bpf/prog_tests | |
parent | 7094e6acaf7ab869a1f1c34825ba1fe3173fe350 (diff) |
riscv: Introduce set_kernel_memory helper
This helper should be used for setting permissions to the kernel
mapping as it takes pointers as arguments and then avoids explicit cast
to unsigned long needed for the set_memory_* API.
Suggested-by: Christoph Hellwig <[email protected]>
Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Reviewed-by: Jisheng Zhang <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions