summaryrefslogtreecommitdiffstats
path: root/arch/mips/vdso/sigreturn.S
blob: 715bf599352971067a1c384c601b7bfa4da90d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * Copyright (C) 2015 Imagination Technologies
 * Author: Alex Smith <alex.smith@imgtec.com>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation;  either version 2 of the  License, or (at your
 * option) any later version.
 */

#include "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_startproc
	.frame	sp, 0, ra
	.mask	0x00000000, 0
	.fmask	0x00000000, 0
	.cfi_signal_frame

	li	v0, __NR_rt_sigreturn
	syscall

	.cfi_endproc
	END(__vdso_rt_sigreturn)

#if _MIPS_SIM == _MIPS_SIM_ABI32

LEAF(__vdso_sigreturn)
	.cfi_startproc
	.frame	sp, 0, ra
	.mask	0x00000000, 0
	.fmask	0x00000000, 0
	.cfi_signal_frame

	li	v0, __NR_sigreturn
	syscall

	.cfi_endproc
	END(__vdso_sigreturn)

#endif