1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_S390_EXPOLINE_H
3 #define _ASM_S390_EXPOLINE_H
7 #include <linux/types.h>
9 extern int nospec_disable;
11 void nospec_init_branches(void);
12 void nospec_auto_detect(void);
13 void nospec_revert(s32 *start, s32 *end);
15 static inline bool nospec_uses_trampoline(void)
17 return __is_defined(CC_USING_EXPOLINE) && !nospec_disable;
20 #endif /* __ASSEMBLY__ */
22 #endif /* _ASM_S390_EXPOLINE_H */