1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
7 * Trampoline sequences to be copied onto user stack.
8 * This consumes a little more space than hand-assembling
9 * immediate constants for use in C, but is more portable
10 * to future tweaks to the Hexagon instruction set.
13 #include <asm/unistd.h>
15 /* Sig trampolines - call sys_sigreturn or sys_rt_sigreturn as appropriate */
17 /* plain sigreturn is gone. */
19 .globl __rt_sigtramp_template
20 __rt_sigtramp_template:
21 r6 = #__NR_rt_sigreturn;