summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cet.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cet.c')
-rw-r--r--arch/x86/kernel/cet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cet.c b/arch/x86/kernel/cet.c
index 303bf74d175b..d897aadd1d44 100644
--- a/arch/x86/kernel/cet.c
+++ b/arch/x86/kernel/cet.c
@@ -55,7 +55,7 @@ static void do_user_cp_fault(struct pt_regs *regs, unsigned long error_code)
* will be whatever is live in userspace. So read the SSP before enabling
* interrupts so locking the fpregs to do it later is not required.
*/
- rdmsrl(MSR_IA32_PL3_SSP, ssp);
+ rdmsrq(MSR_IA32_PL3_SSP, ssp);
cond_local_irq_enable(regs);