1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/linkage.h>
30 #ifdef HAVE_ARCH_X86_64_SUPPORT
31 SYM_FUNC_START(perf_regs_load)
40 leaq 8(%rsp), %rax /* exclude this call. */
63 SYM_FUNC_END(perf_regs_load)
65 SYM_FUNC_START(perf_regs_load)
77 leal 4(%esp), %eax /* exclude this call. */
91 SYM_FUNC_END(perf_regs_load)
95 * We need to provide note.GNU-stack section, saying that we want
96 * NOT executable stack. Otherwise the final linking will assume that
97 * the ELF stack should not be restricted at all and set it RWX.
99 .section .note.GNU-stack,"",@progbits