diff options
| author | Huacai Chen <[email protected]> | 2024-09-24 07:32:20 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2024-09-24 07:32:20 +0000 |
| commit | e86935f705fa732d8c7c3ecf0c50ea461ffab76f (patch) | |
| tree | 1d8cb6c192f3f525e1236aeda0e993f44020948e /rust/helpers | |
| parent | LoongArch: Rework CPU feature probe from CPUCFG/IOCSR (diff) | |
| download | kernel-e86935f705fa732d8c7c3ecf0c50ea461ffab76f.tar.gz kernel-e86935f705fa732d8c7c3ecf0c50ea461ffab76f.zip | |
LoongArch: Add ARCH_HAS_SET_MEMORY support
Add set_memory_ro/rw/x/nx architecture hooks to change the page
attribution.
Use own set_memory.h rather than generic set_memory.h (i.e.
include/asm-generic/set_memory.h), because we want to add other function
prototypes here.
Note: We can only set attributes for KVRANGE/XKVRANGE kernel addresses.
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
