xref: /linux/arch/loongarch/vdso/sigreturn.S (revision 53597deca0e38c30e6cd4ba2114fa42d2bcd85bb)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Author: Huacai Chen <chenhuacai@loongson.cn>
4 *
5 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
6 */
7
8#include <asm/vdso/vdso.h>
9
10#include <linux/linkage.h>
11#include <uapi/asm/unistd.h>
12
13#include <asm/regdef.h>
14#include <asm/asm.h>
15#include <asm/asm-offsets.h>
16
17	.section	.text
18
19SYM_SIGFUNC_START(__vdso_rt_sigreturn)
20
21	li.w	a7, __NR_rt_sigreturn
22	syscall	0
23
24SYM_SIGFUNC_END(__vdso_rt_sigreturn)
25