]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - arch/s390/include/asm/nospec-branch.h
s390: add automatic detection of the spectre defense
[mirror_ubuntu-eoan-kernel.git] / arch / s390 / include / asm / nospec-branch.h
index 7df48e5cf36f71252ec4e3f9fd51565b71bea345..35bf28fe4c648b7208d73dcd14abba7d0b6168a2 100644 (file)
@@ -6,12 +6,10 @@
 
 #include <linux/types.h>
 
-extern int nospec_call_disable;
-extern int nospec_return_disable;
+extern int nospec_disable;
 
 void nospec_init_branches(void);
-void nospec_call_revert(s32 *start, s32 *end);
-void nospec_return_revert(s32 *start, s32 *end);
+void nospec_revert(s32 *start, s32 *end);
 
 #endif /* __ASSEMBLY__ */