Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * S390 version
4 *
5 * Derived from "include/asm-i386/signal.h"
6 */
7#ifndef _ASMS390_SIGNAL_H
8#define _ASMS390_SIGNAL_H
9
10#include <uapi/asm/signal.h>
11
12/* Most things should be clean enough to redefine this at will, if care
13 is taken to make libc match. */
14#include <asm/sigcontext.h>
15#define _NSIG _SIGCONTEXT_NSIG
16#define _NSIG_BPW _SIGCONTEXT_NSIG_BPW
17#define _NSIG_WORDS _SIGCONTEXT_NSIG_WORDS
18
19typedef unsigned long old_sigset_t; /* at least 32 bits */
20
21typedef struct {
22 unsigned long sig[_NSIG_WORDS];
23} sigset_t;
24
25#define __ARCH_HAS_SA_RESTORER
26#endif
1/*
2 * S390 version
3 *
4 * Derived from "include/asm-i386/signal.h"
5 */
6#ifndef _ASMS390_SIGNAL_H
7#define _ASMS390_SIGNAL_H
8
9#include <uapi/asm/signal.h>
10
11/* Most things should be clean enough to redefine this at will, if care
12 is taken to make libc match. */
13#include <asm/sigcontext.h>
14#define _NSIG _SIGCONTEXT_NSIG
15#define _NSIG_BPW _SIGCONTEXT_NSIG_BPW
16#define _NSIG_WORDS _SIGCONTEXT_NSIG_WORDS
17
18typedef unsigned long old_sigset_t; /* at least 32 bits */
19
20typedef struct {
21 unsigned long sig[_NSIG_WORDS];
22} sigset_t;
23
24#define __ARCH_HAS_SA_RESTORER
25#endif