Merge tag 'trace-v4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / arch / mips / vdso / sigreturn.S
blob30c6219912ac17224ccb0d033739821c34d8005d
1 /*
2  * Copyright (C) 2015 Imagination Technologies
3  * Author: Alex Smith <alex.smith@imgtec.com>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation;  either version 2 of the  License, or (at your
8  * option) any later version.
9  */
11 #include "vdso.h"
13 #include <uapi/asm/unistd.h>
15 #include <asm/regdef.h>
16 #include <asm/asm.h>
18         .section        .text
19         .cfi_sections   .debug_frame
21 LEAF(__vdso_rt_sigreturn)
22         .cfi_signal_frame
24         li      v0, __NR_rt_sigreturn
25         syscall
27         END(__vdso_rt_sigreturn)
29 #if _MIPS_SIM == _MIPS_SIM_ABI32
31 LEAF(__vdso_sigreturn)
32         .cfi_signal_frame
34         li      v0, __NR_sigreturn
35         syscall
37         END(__vdso_sigreturn)
39 #endif