Both arguments are unused, remove them. Signed-off-by: Richard Weinberger <richard@xxxxxx> --- include/linux/signal.h | 5 ++--- kernel/signal.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/linux/signal.h b/include/linux/signal.h index 2ac423b..735e0a3 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h @@ -285,7 +285,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_to_deliver(siginfo_t *info, struct k_sigaction *return_ka); extern void signal_setup_done(int failed, struct ksignal *ksig, int stepping); extern void signal_delivered(int sig, siginfo_t *info, struct k_sigaction *ka, struct pt_regs *regs, int stepping); extern void exit_signals(struct task_struct *tsk); @@ -297,8 +297,7 @@ extern void exit_signals(struct task_struct *tsk); #define get_signal(ksig) \ ({ \ struct ksignal *p = (ksig); \ - p->sig = get_signal_to_deliver(&p->info, &p->ka, \ - signal_pt_regs(), NULL);\ + p->sig = get_signal_to_deliver(&p->info, &p->ka); \ p->sig > 0; \ }) diff --git a/kernel/signal.c b/kernel/signal.c index ded28b9..5cf68fb 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2189,8 +2189,7 @@ static int ptrace_signal(int signr, siginfo_t *info) return signr; } -int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, - struct pt_regs *regs, void *cookie) +int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka) { struct sighand_struct *sighand = current->sighand; struct signal_struct *signal = current->signal; -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html