aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/signal.h')
-rw-r--r--include/linux/signal.h14
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
283extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie); 283extern int get_signal(struct ksignal *ksig);
284extern void signal_setup_done(int failed, struct ksignal *ksig, int stepping); 284extern void signal_setup_done(int failed, struct ksignal *ksig, int stepping);
285extern void exit_signals(struct task_struct *tsk); 285extern void exit_signals(struct task_struct *tsk);
286extern void kernel_sigaction(int, __sighandler_t); 286extern 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
315extern struct kmem_cache *sighand_cachep; 303extern struct kmem_cache *sighand_cachep;
316 304
317int unhandled_signal(struct task_struct *tsk, int sig); 305int unhandled_signal(struct task_struct *tsk, int sig);