Linux-libre 4.19.8-gnu
[librecmc/linux-libre.git] / arch / nds32 / kernel / vdso / sigreturn.S
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2012 ARM Limited
3 // Copyright (C) 2005-2017 Andes Technology Corporation
4
5 #include <linux/linkage.h>
6 #include <asm/unistd.h>
7
8         .text
9
10 ENTRY(__kernel_rt_sigreturn)
11         .cfi_startproc
12         movi $r15, __NR_rt_sigreturn
13         /*
14          * The SWID of syscall should be __NR_rt_sigreturn to synchronize
15          * the unwinding scheme in gcc
16          */
17         syscall __NR_rt_sigreturn
18         .cfi_endproc
19 ENDPROC(__kernel_rt_sigreturn)