Commit 8c3b1bca authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] HAVE_ARCH_GET_SIGNAL_TO_DELIVER warning

Kill warning about unused static functions if HAVE_ARCH_GET_SIGNAL_TO_DELIVER
is defined.
parent 70160d26
...@@ -1346,6 +1346,9 @@ do_notify_parent_cldstop(struct task_struct *tsk, struct task_struct *parent) ...@@ -1346,6 +1346,9 @@ do_notify_parent_cldstop(struct task_struct *tsk, struct task_struct *parent)
spin_unlock_irqrestore(&sighand->siglock, flags); spin_unlock_irqrestore(&sighand->siglock, flags);
} }
#ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER
static void static void
finish_stop(int stop_count) finish_stop(int stop_count)
{ {
...@@ -1460,9 +1463,6 @@ do_signal_stop(int signr) ...@@ -1460,9 +1463,6 @@ do_signal_stop(int signr)
finish_stop(stop_count); finish_stop(stop_count);
} }
#ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER
/* /*
* Do appropriate magic when group_stop_count > 0. * Do appropriate magic when group_stop_count > 0.
* We return nonzero if we stopped, after releasing the siglock. * We return nonzero if we stopped, after releasing the siglock.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment