]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Reserve asm-generic prot flags 0x10 and 0x20 for arch use
authorDave Martin <Dave.Martin@arm.com>
Wed, 11 Dec 2019 18:40:06 +0000 (18:40 +0000)
committerWill Deacon <will@kernel.org>
Fri, 17 Jan 2020 12:48:36 +0000 (12:48 +0000)
commit6ab9f2cf369a677f933a1ff58520020ba458f28c
treed1d87aaaed6baee2d2dacb9cab25fd7cc168f8da
parent75a2a52fef894924196577276dae796cdf245f9b
mm: Reserve asm-generic prot flags 0x10 and 0x20 for arch use

The asm-generic/mman.h definitions are used by a few architectures that
also define arch-specific PROT flags with value 0x10 and 0x20. This
currently applies to sparc and powerpc for 0x10, while arm64 will soon
join with 0x10 and 0x20.

To help future maintainers, document the use of this flag in the
asm-generic header too.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
[catalin.marinas@arm.com: reserve 0x20 as well]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
include/uapi/asm-generic/mman-common.h