]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - arch/x86/include/asm/nospec-branch.h
intel_idle: Disable IBRS during long idle
[mirror_ubuntu-jammy-kernel.git] / arch / x86 / include / asm / nospec-branch.h
index a45799bed2814423bd48d9fa73af44e454c30ec7..af354282b72047a02ec3583e33fff1b513fbd057 100644 (file)
@@ -256,6 +256,7 @@ static inline void indirect_branch_prediction_barrier(void)
 /* The Intel SPEC CTRL MSR base value cache */
 extern u64 x86_spec_ctrl_base;
 extern void write_spec_ctrl_current(u64 val, bool force);
+extern u64 spec_ctrl_current(void);
 
 /*
  * With retpoline, we must use IBRS to restrict branch prediction