11da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#ifndef _ASM_M32R_SIGNAL_H 21da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#define _ASM_M32R_SIGNAL_H 31da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 4f7f4dc10e1eb04eb8426a192a314b64444a333f4David Howells#include <uapi/asm/signal.h> 51da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 61da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds/* Most things should be clean enough to redefine this at will, if care 71da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds is taken to make libc match. */ 81da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 91da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#define _NSIG 64 101da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#define _NSIG_BPW 32 111da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#define _NSIG_WORDS (_NSIG / _NSIG_BPW) 121da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 131da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldstypedef unsigned long old_sigset_t; /* at least 32 bits */ 141da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 151da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvaldstypedef struct { 161da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds unsigned long sig[_NSIG_WORDS]; 171da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds} sigset_t; 181da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 19574c4866e33d648520a8bd5bf6f573ea6e554e88Al Viro#define __ARCH_HAS_SA_RESTORER 201da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#include <asm/sigcontext.h> 211da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 221da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#undef __HAVE_ARCH_SIG_BITOPS 231da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds 241da177e4c3f41524e886b7f1b8a0c1fc7321cacLinus Torvalds#endif /* _ASM_M32R_SIGNAL_H */ 25