Skip to content
Commit b3fbbea4 authored by Kevin Brodsky's avatar Kevin Brodsky Committed by Catalin Marinas
Browse files

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: default avatarKevin Brodsky <Kevin.Brodsky@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
parent 4d1a8a2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment