Linux 3.11-rc3
[cris-mirror.git] / arch / mn10300 / include / asm / signal.h
blob214ff5e9fe601c169b79c3f41d8d79bbf1b8c5f7
1 /* MN10300 Signal definitions
3 * Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
11 #ifndef _ASM_SIGNAL_H
12 #define _ASM_SIGNAL_H
14 #include <uapi/asm/signal.h>
16 /* Most things should be clean enough to redefine this at will, if care
17 is taken to make libc match. */
19 #define _NSIG 64
20 #define _NSIG_BPW 32
21 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
23 typedef unsigned long old_sigset_t; /* at least 32 bits */
25 typedef struct {
26 unsigned long sig[_NSIG_WORDS];
27 } sigset_t;
29 #define __ARCH_HAS_SA_RESTORER
31 #include <asm/sigcontext.h>
33 #endif /* _ASM_SIGNAL_H */