diff options
Diffstat (limited to 'include/linux/signal.h')
-rw-r--r-- | include/linux/signal.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h index b005cc3dc1dc..750196fcc0a5 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h | |||
@@ -280,7 +280,7 @@ struct ksignal { | |||
280 | int sig; | 280 | int sig; |
281 | }; | 281 | }; |
282 | 282 | ||
283 | extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie); | 283 | extern int get_signal(struct ksignal *ksig); |
284 | extern void signal_setup_done(int failed, struct ksignal *ksig, int stepping); | 284 | extern void signal_setup_done(int failed, struct ksignal *ksig, int stepping); |
285 | extern void exit_signals(struct task_struct *tsk); | 285 | extern void exit_signals(struct task_struct *tsk); |
286 | extern void kernel_sigaction(int, __sighandler_t); | 286 | extern void kernel_sigaction(int, __sighandler_t); |
@@ -300,18 +300,6 @@ static inline void disallow_signal(int sig) | |||
300 | kernel_sigaction(sig, SIG_IGN); | 300 | kernel_sigaction(sig, SIG_IGN); |
301 | } | 301 | } |
302 | 302 | ||
303 | /* | ||
304 | * Eventually that'll replace get_signal_to_deliver(); macro for now, | ||
305 | * to avoid nastiness with include order. | ||
306 | */ | ||
307 | #define get_signal(ksig) \ | ||
308 | ({ \ | ||
309 | struct ksignal *p = (ksig); \ | ||
310 | p->sig = get_signal_to_deliver(&p->info, &p->ka, \ | ||
311 | signal_pt_regs(), NULL);\ | ||
312 | p->sig > 0; \ | ||
313 | }) | ||
314 | |||
315 | extern struct kmem_cache *sighand_cachep; | 303 | extern struct kmem_cache *sighand_cachep; |
316 | 304 | ||
317 | int unhandled_signal(struct task_struct *tsk, int sig); | 305 | int unhandled_signal(struct task_struct *tsk, int sig); |