1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/linkage.h>
3 #include <linux/objtool.h>
4 #include <asm/nospec-branch.h>
6 SYM_CODE_START(ibt_selftest_noendbr)
9 /* #CP handler sets %ax to 0 */
11 SYM_CODE_END(ibt_selftest_noendbr)
13 SYM_FUNC_START(ibt_selftest)
14 lea ibt_selftest_noendbr(%rip), %rax
15 ANNOTATE_RETPOLINE_SAFE
17 SYM_FUNC_END(ibt_selftest)