summaryrefslogtreecommitdiff
path: root/arch/loongarch/vdso/sigreturn.S
blob: 59f940d928de7bfd24dcf7d39a25114bf55f389d (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
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Author: Huacai Chen <chenhuacai@loongson.cn>
 *
 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
 */

#include <asm/vdso/vdso.h>

#include <linux/linkage.h>
#include <uapi/asm/unistd.h>

#include <asm/regdef.h>
#include <asm/asm.h>
#include <asm/asm-offsets.h>

	.section	.text

SYM_SIGFUNC_START(__vdso_rt_sigreturn)

	li.w	a7, __NR_rt_sigreturn
	syscall	0

SYM_SIGFUNC_END(__vdso_rt_sigreturn)