Revert "mm: add arch hook to validate mmap() prot flags"

This reverts commit cb1a393c40.

Since the arm64 WXN patch has been reverted, remove this hook as it
would not have any users.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/ZfGESD3a91lxH367@arm.com
This commit is contained in:
Catalin Marinas 2024-03-12 20:00:38 +00:00
commit 1ef21fcd6a
2 changed files with 0 additions and 18 deletions