blob: 7daf4d8b5ee53d445bfbeb121c8cde42d4e5989f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 * S390 version
4 *
5 * Derived from "include/asm-i386/signal.h"
6 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07007#ifndef _ASMS390_SIGNAL_H
8#define _ASMS390_SIGNAL_H
9
David Howells9807f752012-10-09 09:47:31 +010010#include <uapi/asm/signal.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Linus Torvalds1da177e2005-04-16 15:20:36 -070012/* 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
Al Viro574c4862012-11-25 22:24:19 -050025#define __ARCH_HAS_SA_RESTORER
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#endif