aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-22 17:28:06 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-21 23:59:23 -0400
commit899dfaa7e7dd825f8366c2a6b38067db43644dc6 (patch)
tree763b00ebc4590b6f6ef4aaedb514719980c375dc /arch/sparc/kernel
parent79afd8efdb4895747f98b1b9f7712489ce57d46c (diff)
sparc: kill ancient comment in sparc_sigaction()
It used to be true, until 2.1.78 (14 years ago) when we switched to do_sigaction()... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/sys_sparc_32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/kernel/sys_sparc_32.c b/arch/sparc/kernel/sys_sparc_32.c
index cd99c1a7870f..0c9b31b22e07 100644
--- a/arch/sparc/kernel/sys_sparc_32.c
+++ b/arch/sparc/kernel/sys_sparc_32.c
@@ -195,11 +195,6 @@ sparc_sigaction (int sig, const struct old_sigaction __user *act,
195 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); 195 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL);
196 196
197 if (!ret && oact) { 197 if (!ret && oact) {
198 /* In the clone() case we could copy half consistent
199 * state to the user, however this could sleep and
200 * deadlock us if we held the signal lock on SMP. So for
201 * now I take the easy way out and do no locking.
202 */
203 if (!access_ok(VERIFY_WRITE, oact, sizeof(*oact)) || 198 if (!access_ok(VERIFY_WRITE, oact, sizeof(*oact)) ||
204 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || 199 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) ||
205 __put_user(old_ka.sa.sa_restorer, &oact->sa_restorer) || 200 __put_user(old_ka.sa.sa_restorer, &oact->sa_restorer) ||