Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_S390_EXPOLINE_H
0003 #define _ASM_S390_EXPOLINE_H
0004 
0005 #ifndef __ASSEMBLY__
0006 
0007 #include <linux/types.h>
0008 
0009 extern int nospec_disable;
0010 
0011 void nospec_init_branches(void);
0012 void nospec_auto_detect(void);
0013 void nospec_revert(s32 *start, s32 *end);
0014 
0015 static inline bool nospec_uses_trampoline(void)
0016 {
0017     return __is_defined(CC_USING_EXPOLINE) && !nospec_disable;
0018 }
0019 
0020 #endif /* __ASSEMBLY__ */
0021 
0022 #endif /* _ASM_S390_EXPOLINE_H */