arch/riscv/kernel/vdso/rt_sigreturn.S
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* |
| 3 | * Copyright (C) 2014 Regents of the University of California |
| 4 | */ |
| 5 | |
| 6 | #include <linux/linkage.h> |
| 7 | #include <asm/unistd.h> |
| 8 | #include <asm/assembler.h> |
| 9 | |
| 10 | .text |
| 11 | SYM_FUNC_START(__vdso_rt_sigreturn) |
| 12 | .cfi_startproc |
| 13 | .cfi_signal_frame |
| 14 | vdso_lpad |
| 15 | li a7, __NR_rt_sigreturn |
| 16 | ecall |
| 17 | .cfi_endproc |
| 18 | SYM_FUNC_END(__vdso_rt_sigreturn) |
| 19 | |
| 20 | emit_riscv_feature_1_and |