diff options
Diffstat (limited to 'arch/mips/vdso/sigreturn.S')
-rw-r--r-- | arch/mips/vdso/sigreturn.S | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/mips/vdso/sigreturn.S b/arch/mips/vdso/sigreturn.S new file mode 100644 index 000000000..e5c0ab98a --- /dev/null +++ b/arch/mips/vdso/sigreturn.S @@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2015 Imagination Technologies + * Author: Alex Smith <alex.smith@imgtec.com> + */ + +#include <asm/vdso/vdso.h> + +#include <uapi/asm/unistd.h> + +#include <asm/regdef.h> +#include <asm/asm.h> + + .section .text + .cfi_sections .debug_frame + +LEAF(__vdso_rt_sigreturn) + .cfi_signal_frame + + li v0, __NR_rt_sigreturn + syscall + + END(__vdso_rt_sigreturn) + +#if _MIPS_SIM == _MIPS_SIM_ABI32 + +LEAF(__vdso_sigreturn) + .cfi_signal_frame + + li v0, __NR_sigreturn + syscall + + END(__vdso_sigreturn) + +#endif |