![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 #ifndef _ASM_X86_MMAN_H 0003 #define _ASM_X86_MMAN_H 0004 0005 #define MAP_32BIT 0x40 /* only give out 32bit addresses */ 0006 0007 #ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS 0008 #define arch_calc_vm_prot_bits(prot, key) ( \ 0009 ((key) & 0x1 ? VM_PKEY_BIT0 : 0) | \ 0010 ((key) & 0x2 ? VM_PKEY_BIT1 : 0) | \ 0011 ((key) & 0x4 ? VM_PKEY_BIT2 : 0) | \ 0012 ((key) & 0x8 ? VM_PKEY_BIT3 : 0)) 0013 #endif 0014 0015 #include <asm-generic/mman.h> 0016 0017 #endif /* _ASM_X86_MMAN_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |