]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/blobdiff - arch/x86/include/asm/mmu_context.h
x86/pkeys: Do not special case protection key 0
[mirror_ubuntu-disco-kernel.git] / arch / x86 / include / asm / mmu_context.h
index 57e3785d0d26e19f9134485399d1b3aac01b3a2b..cf9911b5a53cb1de017a27cf20f866e42d2199fd 100644 (file)
@@ -193,7 +193,7 @@ static inline int init_new_context(struct task_struct *tsk,
 
 #ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
        if (cpu_feature_enabled(X86_FEATURE_OSPKE)) {
-               /* pkey 0 is the default and always allocated */
+               /* pkey 0 is the default and allocated implicitly */
                mm->context.pkey_allocation_map = 0x1;
                /* -1 means unallocated or invalid */
                mm->context.execute_only_pkey = -1;