GNU Linux-libre 5.4.274-gnu1
[releases.git] / arch / arm64 / kernel / vdso / sigreturn.S
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Sigreturn trampoline for returning from a signal when the SA_RESTORER
4  * flag is not set.
5  *
6  * Copyright (C) 2012 ARM Limited
7  *
8  * Author: Will Deacon <will.deacon@arm.com>
9  */
10
11 #include <linux/linkage.h>
12 #include <asm/unistd.h>
13
14         .text
15
16         nop
17 ENTRY(__kernel_rt_sigreturn)
18         .cfi_startproc
19         .cfi_signal_frame
20         .cfi_def_cfa    x29, 0
21         .cfi_offset     x29, 0 * 8
22         .cfi_offset     x30, 1 * 8
23         mov     x8, #__NR_rt_sigreturn
24         svc     #0
25         .cfi_endproc
26 ENDPROC(__kernel_rt_sigreturn)