PCuABI specification introduces memory reservation so add a flag VM_PCUABI_RESERVE to represent such memory mappings.
Signed-off-by: Amit Daniel Kachhap amit.kachhap@arm.com --- include/linux/mm.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/mm.h b/include/linux/mm.h index c1f4996a957f..913b79b204be 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -369,9 +369,11 @@ extern unsigned int kobjsize(const void *objp); #ifdef CONFIG_ARM64_MORELLO # define VM_READ_CAPS VM_HIGH_ARCH_2 /* Permit capability tag loads */ # define VM_WRITE_CAPS VM_HIGH_ARCH_3 /* Permit capability tag stores */ +# define VM_PCUABI_RESERVE VM_HIGH_ARCH_4 /* Permit PCuABI memory reservation */ #else # define VM_READ_CAPS VM_NONE # define VM_WRITE_CAPS VM_NONE +# define VM_PCUABI_RESERVE VM_NONE #endif
#ifndef VM_GROWSUP