WIP FPC-III support
[linux/fpc-iii.git] / arch / mips / vdso / sigreturn.S
blobe5c0ab98ab462406fee230aa4cf2322c566855de
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2015 Imagination Technologies
4  * Author: Alex Smith <alex.smith@imgtec.com>
5  */
7 #include <asm/vdso/vdso.h>
9 #include <uapi/asm/unistd.h>
11 #include <asm/regdef.h>
12 #include <asm/asm.h>
14         .section        .text
15         .cfi_sections   .debug_frame
17 LEAF(__vdso_rt_sigreturn)
18         .cfi_signal_frame
20         li      v0, __NR_rt_sigreturn
21         syscall
23         END(__vdso_rt_sigreturn)
25 #if _MIPS_SIM == _MIPS_SIM_ABI32
27 LEAF(__vdso_sigreturn)
28         .cfi_signal_frame
30         li      v0, __NR_sigreturn
31         syscall
33         END(__vdso_sigreturn)
35 #endif