diff options
author | Richard Weinberger <richard@nod.at> | 2013-10-07 15:26:57 +0200 |
---|---|---|
committer | Richard Weinberger <richard@sigma-star.at> | 2014-08-06 13:03:44 +0200 |
commit | 828b1f65d23cf8a68795739f6dd08fc8abd9ee64 (patch) | |
tree | bb660d0c7a85e875f96f281729cb752184e1c7af /include/linux/signal.h | |
parent | 10b1c7ac8bfed429cf3dcb0225482c8dc1485d8e (diff) |
Rip out get_signal_to_deliver()
Now we can turn get_signal() to the main function.
Signed-off-by: Richard Weinberger <richard@nod.at>
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 { int sig; }; -extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie); +extern int get_signal(struct ksignal *ksig); extern void signal_setup_done(int failed, struct ksignal *ksig, int stepping); extern void exit_signals(struct task_struct *tsk); extern void kernel_sigaction(int, __sighandler_t); @@ -300,18 +300,6 @@ static inline void disallow_signal(int sig) kernel_sigaction(sig, SIG_IGN); } -/* - * Eventually that'll replace get_signal_to_deliver(); macro for now, - * to avoid nastiness with include order. - */ -#define get_signal(ksig) \ -({ \ - struct ksignal *p = (ksig); \ - p->sig = get_signal_to_deliver(&p->info, &p->ka, \ - signal_pt_regs(), NULL);\ - p->sig > 0; \ -}) - extern struct kmem_cache *sighand_cachep; int unhandled_signal(struct task_struct *tsk, int sig); |