Linux 6.9-rc5
[sfrench/cifs-2.6.git] / arch / arm / include / asm / mman.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_MMAN_H__
3 #define __ASM_MMAN_H__
4
5 #include <asm/system_info.h>
6 #include <uapi/asm/mman.h>
7
8 static inline bool arch_memory_deny_write_exec_supported(void)
9 {
10         return cpu_architecture() >= CPU_ARCH_ARMv6;
11 }
12 #define arch_memory_deny_write_exec_supported arch_memory_deny_write_exec_supported
13
14 #endif /* __ASM_MMAN_H__ */