x86/mm/pkeys: Create an x86 arch_calc_vm_prot_bits() for VMA flags
[deliverable/linux.git] / arch / x86 / include / asm / pkeys.h
CommitLineData
66d37570
DH
1#ifndef _ASM_X86_PKEYS_H
2#define _ASM_X86_PKEYS_H
3
4#define arch_max_pkey() (boot_cpu_has(X86_FEATURE_OSPKE) ? 16 : 1)
5
84594296
DH
6extern int arch_set_user_pkey_access(struct task_struct *tsk, int pkey,
7 unsigned long init_val);
8
66d37570 9#endif /*_ASM_X86_PKEYS_H */
This page took 0.024503 seconds and 5 git commands to generate.