diff options
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
| -rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 52c9bfbbdb2a..4cdb123ff66a 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -445,7 +445,7 @@ static __always_inline void setup_pku(struct cpuinfo_x86 *c)  	 * cpuid bit to be set.  We need to ensure that we  	 * update that bit in this CPU's "cpu_info".  	 */ -	get_cpu_cap(c); +	set_cpu_cap(c, X86_FEATURE_OSPKE);  }  #ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS |