forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-14 796a7ef0befd21e25c2b9e42f53a6d7a4421941d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2012 ARM Limited
// Copyright (C) 2005-2017 Andes Technology Corporation
 
#include <linux/linkage.h>
#include <asm/unistd.h>
 
   .text
 
ENTRY(__kernel_rt_sigreturn)
   .cfi_startproc
   movi $r15, __NR_rt_sigreturn
   /*
    * The SWID of syscall should be __NR_rt_sigreturn to synchronize
    * the unwinding scheme in gcc
    */
   syscall    __NR_rt_sigreturn
   .cfi_endproc
ENDPROC(__kernel_rt_sigreturn)