blob: 65530a042009b90dde5d667756ab05f1b2083cd5 [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#ifndef _ASMARM_SIGNAL_H
3#define _ASMARM_SIGNAL_H
4
David Howellscb8db5d2012-10-12 13:05:52 +01005#include <uapi/asm/signal.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
Linus Torvalds1da177e2005-04-16 15:20:36 -07007/* Most things should be clean enough to redefine this at will, if care
8 is taken to make libc match. */
9
10#define _NSIG 64
11#define _NSIG_BPW 32
12#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
13
14typedef unsigned long old_sigset_t; /* at least 32 bits */
15
16typedef struct {
17 unsigned long sig[_NSIG_WORDS];
18} sigset_t;
19
Al Viro574c4862012-11-25 22:24:19 -050020#define __ARCH_HAS_SA_RESTORER
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#include <asm/sigcontext.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#endif