Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information