blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / frv / include / uapi / asm / signal.h
blobbf3b162f9beaa46cf3cf19a1021d361c9b3e7c72
1 #ifndef _UAPI_ASM_SIGNAL_H
2 #define _UAPI_ASM_SIGNAL_H
4 #include <linux/types.h>
6 #ifndef __KERNEL__
7 /* Here we must cater to libcs that poke about in kernel headers. */
9 #define NSIG 32
10 typedef unsigned long sigset_t;
12 #endif /* !__KERNEL__ */
14 #define SA_RESTORER 0x04000000 /* to get struct sigaction correct */
16 #include <asm-generic/signal.h>
18 #ifndef __KERNEL__
19 /* Here we must cater to libcs that poke about in kernel headers. */
21 struct sigaction {
22 union {
23 __sighandler_t _sa_handler;
24 void (*_sa_sigaction)(int, struct siginfo *, void *);
25 } _u;
26 sigset_t sa_mask;
27 unsigned long sa_flags;
28 void (*sa_restorer)(void);
31 #define sa_handler _u._sa_handler
32 #define sa_sigaction _u._sa_sigaction
34 #endif /* __KERNEL__ */
36 #endif /* _UAPI_ASM_SIGNAL_H */