arch/sparc: Add support to disable signals actions related data struct

Add support to disable signals actions related struct

Co-authored-by: guoshichao <guoshichao@xiaomi.com>
Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
wangchengdong
2026-01-13 09:56:47 +08:00
committed by Alan C. Assis
parent 2a0990bd31
commit 8919950326
2 changed files with 8 additions and 2 deletions
+2
View File
@@ -429,6 +429,7 @@ struct xcpt_syscall_s
struct xcptcontext
{
#ifdef CONFIG_ENABLE_ALL_SIGNALS
/* These additional register save locations are used to implement the
* signal delivery trampoline.
*
@@ -450,6 +451,7 @@ struct xcptcontext
uint32_t sigreturn;
#endif
#endif /* CONFIG_ENABLE_ALL_SIGNALS */
#ifdef CONFIG_BUILD_KERNEL
/* The following array holds information needed to return from each nested
+6 -2
View File
@@ -27,6 +27,10 @@ include common/Make.defs
CMN_ASRCS += sparc_v8_syscall.S
CMN_CSRCS += sparc_v8_copystate.c sparc_v8_doirq.c
CMN_CSRCS += sparc_v8_initialstate.c sparc_v8_irq.c
CMN_CSRCS += sparc_v8_schedulesigaction.c sparc_v8_saveusercontext.c
CMN_CSRCS += sparc_v8_sigdeliver.c sparc_v8_swint1.c sparc_v8_systemreset.c
CMN_CSRCS += sparc_v8_saveusercontext.c
CMN_CSRCS += sparc_v8_swint1.c sparc_v8_systemreset.c
CMN_CSRCS += sparc_v8_switchcontext.c sparc_v8_registerdump.c
ifeq ($(CONFIG_ENABLE_ALL_SIGNALS),y)
CMN_CSRCS += sparc_v8_schedulesigaction.c sparc_v8_sigdeliver.c
endif