summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-01-04 05:33:34 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:33:34 -0800
commit0690150464d6fb8d64c8e0cbaa02d8569043e24d (patch)
treec8eb33c50686808a2a56810810d550f449c4a2dc /include
parent577dfb53c790924fe10bd7415ef37a9601605455 (diff)
[PATCH] noone uses HAVE_ARCH_SI_CODES or HAVE_ARCH_SIGEVENT_T
Since asm-generic/siginfo.h was created, the architectures have been slowly fixed/modified until noone uses HAVE_ARCH_SI_CODES or HAVE_ARCH_SIGEVENT_T any more, so this patch removes the checks for them. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/siginfo.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h
index 3a3f35d75af2..8336d0c78712 100644
--- a/include/asm-generic/siginfo.h
+++ b/include/asm-generic/siginfo.h
@@ -154,7 +154,6 @@ typedef struct siginfo {
#define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
#define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
-#ifndef HAVE_ARCH_SI_CODES
/*
* SIGILL si_codes
*/
@@ -225,8 +224,6 @@ typedef struct siginfo {
#define POLL_HUP (__SI_POLL|6) /* device disconnected */
#define NSIGPOLL 6
-#endif
-
/*
* sigevent definitions
*
@@ -245,8 +242,6 @@ typedef struct siginfo {
#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 3)
#endif
-#ifndef HAVE_ARCH_SIGEVENT_T
-
typedef struct sigevent {
sigval_t sigev_value;
int sigev_signo;
@@ -262,8 +257,6 @@ typedef struct sigevent {
} _sigev_un;
} sigevent_t;
-#endif
-
#define sigev_notify_function _sigev_un._sigev_thread._function
#define sigev_notify_attributes _sigev_un._sigev_thread._attribute
#define sigev_notify_thread_id _sigev_un._tid