diff options
Diffstat (limited to 'include/asm-ppc/signal.h')
-rw-r--r-- | include/asm-ppc/signal.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/include/asm-ppc/signal.h b/include/asm-ppc/signal.h index 8cc8b88d4edd..caf6ede3710f 100644 --- a/include/asm-ppc/signal.h +++ b/include/asm-ppc/signal.h | |||
@@ -99,34 +99,8 @@ typedef struct { | |||
99 | 99 | ||
100 | #define MINSIGSTKSZ 2048 | 100 | #define MINSIGSTKSZ 2048 |
101 | #define SIGSTKSZ 8192 | 101 | #define SIGSTKSZ 8192 |
102 | #ifdef __KERNEL__ | ||
103 | |||
104 | /* | ||
105 | * These values of sa_flags are used only by the kernel as part of the | ||
106 | * irq handling routines. | ||
107 | * | ||
108 | * SA_INTERRUPT is also used by the irq handling routines. | ||
109 | * SA_SHIRQ is for shared interrupt support on PCI and EISA. | ||
110 | */ | ||
111 | #define SA_PROBE SA_ONESHOT | ||
112 | #define SA_SAMPLE_RANDOM SA_RESTART | ||
113 | #define SA_SHIRQ 0x04000000 | ||
114 | #endif /* __KERNEL__ */ | ||
115 | |||
116 | #define SIG_BLOCK 0 /* for blocking signals */ | ||
117 | #define SIG_UNBLOCK 1 /* for unblocking signals */ | ||
118 | #define SIG_SETMASK 2 /* for setting the signal mask */ | ||
119 | |||
120 | /* Type of a signal handler. */ | ||
121 | typedef void __signalfn_t(int); | ||
122 | typedef __signalfn_t __user *__sighandler_t; | ||
123 | |||
124 | typedef void __restorefn_t(void); | ||
125 | typedef __restorefn_t __user *__sigrestore_t; | ||
126 | 102 | ||
127 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | 103 | #include <asm-generic/signal.h> |
128 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
129 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
130 | 104 | ||
131 | struct old_sigaction { | 105 | struct old_sigaction { |
132 | __sighandler_t sa_handler; | 106 | __sighandler_t sa_handler; |