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
16 .section .text
17 .cfi_sections .debug_frame
18
19SYM_FUNC_START(__vdso_rt_sigreturn)
20
21 li.w a7, __NR_rt_sigreturn
22 syscall 0
23
24SYM_FUNC_END(__vdso_rt_sigreturn)
25

source code of linux/arch/loongarch/vdso/sigreturn.S