mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
5d17d4ed7e
and replace all of the "__is_defined(CC_USING_EXPOLINE) && !nospec_disable" occurrences. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
23 lines
455 B
C
23 lines
455 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_S390_EXPOLINE_H
|
|
#define _ASM_S390_EXPOLINE_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#include <linux/types.h>
|
|
|
|
extern int nospec_disable;
|
|
|
|
void nospec_init_branches(void);
|
|
void nospec_auto_detect(void);
|
|
void nospec_revert(s32 *start, s32 *end);
|
|
|
|
static inline bool nospec_uses_trampoline(void)
|
|
{
|
|
return __is_defined(CC_USING_EXPOLINE) && !nospec_disable;
|
|
}
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* _ASM_S390_EXPOLINE_H */
|