diff options
Diffstat (limited to 'include/asm-ppc/signal.h')
-rw-r--r-- | include/asm-ppc/signal.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/asm-ppc/signal.h b/include/asm-ppc/signal.h index d890dabd5a69..caf6ede3710f 100644 --- a/include/asm-ppc/signal.h +++ b/include/asm-ppc/signal.h | |||
@@ -100,20 +100,7 @@ typedef struct { | |||
100 | #define MINSIGSTKSZ 2048 | 100 | #define MINSIGSTKSZ 2048 |
101 | #define SIGSTKSZ 8192 | 101 | #define SIGSTKSZ 8192 |
102 | 102 | ||
103 | #define SIG_BLOCK 0 /* for blocking signals */ | 103 | #include <asm-generic/signal.h> |
104 | #define SIG_UNBLOCK 1 /* for unblocking signals */ | ||
105 | #define SIG_SETMASK 2 /* for setting the signal mask */ | ||
106 | |||
107 | /* Type of a signal handler. */ | ||
108 | typedef void __signalfn_t(int); | ||
109 | typedef __signalfn_t __user *__sighandler_t; | ||
110 | |||
111 | typedef void __restorefn_t(void); | ||
112 | typedef __restorefn_t __user *__sigrestore_t; | ||
113 | |||
114 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | ||
115 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
116 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
117 | 104 | ||
118 | struct old_sigaction { | 105 | struct old_sigaction { |
119 | __sighandler_t sa_handler; | 106 | __sighandler_t sa_handler; |