xref: /OK3568_Linux_fs/kernel/arch/s390/include/asm/nospec-branch.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef _ASM_S390_EXPOLINE_H
3*4882a593Smuzhiyun #define _ASM_S390_EXPOLINE_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #ifndef __ASSEMBLY__
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun #include <linux/types.h>
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun extern int nospec_disable;
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun void nospec_init_branches(void);
12*4882a593Smuzhiyun void nospec_auto_detect(void);
13*4882a593Smuzhiyun void nospec_revert(s32 *start, s32 *end);
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #endif /* __ASSEMBLY__ */
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #endif /* _ASM_S390_EXPOLINE_H */
18