Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  *  S390 version
0004  *
0005  *  Derived from "include/asm-i386/signal.h"
0006  */
0007 #ifndef _ASMS390_SIGNAL_H
0008 #define _ASMS390_SIGNAL_H
0009 
0010 #include <uapi/asm/signal.h>
0011 
0012 /* Most things should be clean enough to redefine this at will, if care
0013    is taken to make libc match.  */
0014 #include <asm/sigcontext.h>
0015 #define _NSIG           _SIGCONTEXT_NSIG
0016 #define _NSIG_BPW       _SIGCONTEXT_NSIG_BPW
0017 #define _NSIG_WORDS     _SIGCONTEXT_NSIG_WORDS
0018 
0019 typedef unsigned long old_sigset_t;             /* at least 32 bits */
0020 
0021 typedef struct {
0022         unsigned long sig[_NSIG_WORDS];
0023 } sigset_t;
0024 
0025 #define __ARCH_HAS_SA_RESTORER
0026 #endif