Loading...
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 */
10
11#include "vdso.h"
12
13#include <uapi/asm/unistd.h>
14
15#include <asm/regdef.h>
16#include <asm/asm.h>
17
18 .section .text
19 .cfi_sections .debug_frame
20
21LEAF(__vdso_rt_sigreturn)
22 .cfi_signal_frame
23
24 li v0, __NR_rt_sigreturn
25 syscall
26
27 END(__vdso_rt_sigreturn)
28
29#if _MIPS_SIM == _MIPS_SIM_ABI32
30
31LEAF(__vdso_sigreturn)
32 .cfi_signal_frame
33
34 li v0, __NR_sigreturn
35 syscall
36
37 END(__vdso_sigreturn)
38
39#endif
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 */
6
7#include <asm/vdso/vdso.h>
8
9#include <uapi/asm/unistd.h>
10
11#include <asm/regdef.h>
12#include <asm/asm.h>
13
14 .section .text
15 .cfi_sections .debug_frame
16
17LEAF(__vdso_rt_sigreturn)
18 .cfi_signal_frame
19
20 li v0, __NR_rt_sigreturn
21 syscall
22
23 END(__vdso_rt_sigreturn)
24
25#if _MIPS_SIM == _MIPS_SIM_ABI32
26
27LEAF(__vdso_sigreturn)
28 .cfi_signal_frame
29
30 li v0, __NR_sigreturn
31 syscall
32
33 END(__vdso_sigreturn)
34
35#endif