|
@@ -1458,8 +1458,7 @@ send_sig(int sig, struct task_struct *p, int priv)
|
|
|
return send_sig_info(sig, __si_special(priv), p);
|
|
|
}
|
|
|
|
|
|
-void
|
|
|
-force_sig(int sig, struct task_struct *p)
|
|
|
+void force_sig(int sig, struct task_struct *p)
|
|
|
{
|
|
|
force_sig_info(sig, SEND_SIG_PRIV, p);
|
|
|
}
|
|
@@ -1470,8 +1469,7 @@ force_sig(int sig, struct task_struct *p)
|
|
|
* the problem was already a SIGSEGV, we'll want to
|
|
|
* make sure we don't even try to deliver the signal..
|
|
|
*/
|
|
|
-int
|
|
|
-force_sigsegv(int sig, struct task_struct *p)
|
|
|
+void force_sigsegv(int sig, struct task_struct *p)
|
|
|
{
|
|
|
if (sig == SIGSEGV) {
|
|
|
unsigned long flags;
|
|
@@ -1480,7 +1478,6 @@ force_sigsegv(int sig, struct task_struct *p)
|
|
|
spin_unlock_irqrestore(&p->sighand->siglock, flags);
|
|
|
}
|
|
|
force_sig(SIGSEGV, p);
|
|
|
- return 0;
|
|
|
}
|
|
|
|
|
|
int force_sig_fault(int sig, int code, void __user *addr
|