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