Merge branch 'uaccess-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-block.git] / arch / ia64 / include / asm / signal.h
CommitLineData
1da177e4
LT
1/*
2 * Modified 1998-2001, 2003
3 * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
4 *
5 * Unfortunately, this file is being included by bits/signal.h in
6 * glibc-2.x. Hence the #ifdef __KERNEL__ ugliness.
7 */
43e40f25
DH
8#ifndef _ASM_IA64_SIGNAL_H
9#define _ASM_IA64_SIGNAL_H
1da177e4 10
43e40f25 11#include <uapi/asm/signal.h>
1da177e4 12
1da177e4
LT
13
14#define _NSIG 64
15#define _NSIG_BPW 64
16#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
17
1da177e4
LT
18# ifndef __ASSEMBLY__
19
1da177e4
LT
20/* Most things should be clean enough to redefine this at will, if care
21 is taken to make libc match. */
22
23typedef unsigned long old_sigset_t;
24
25typedef struct {
26 unsigned long sig[_NSIG_WORDS];
27} sigset_t;
28
1da177e4
LT
29# include <asm/sigcontext.h>
30
1da177e4
LT
31# endif /* !__ASSEMBLY__ */
32#endif /* _ASM_IA64_SIGNAL_H */