diff options
author | Kevin Brodsky <Kevin.Brodsky@arm.com> | 2019-11-25 17:27:06 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-09-04 12:46:07 +0100 |
commit | b3fbbea4c00220f62e6f7e2514466e6ee81f7f60 (patch) | |
tree | ed5a4e5e67c60af7042aa9fef05325b83d5b9742 /mm/mprotect.c | |
parent | 4d1a8a2dc0f4cdc2d74491a60709e698f85daf55 (diff) | |
download | lwn-b3fbbea4c00220f62e6f7e2514466e6ee81f7f60.tar.gz lwn-b3fbbea4c00220f62e6f7e2514466e6ee81f7f60.zip |
mm: Introduce arch_calc_vm_flag_bits()
Similarly to arch_calc_vm_prot_bits(), introduce a dummy
arch_calc_vm_flag_bits() invoked from calc_vm_flag_bits(). This macro
can be overridden by architectures to insert specific VM_* flags derived
from the mmap() MAP_* flags.
Signed-off-by: Kevin Brodsky <Kevin.Brodsky@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions