summaryrefslogtreecommitdiff
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-09-21 17:57:12 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:18:36 (GMT)
commit70b99bd28bdb7efba6f927adad7cc03c52161c94 (patch)
tree4dd2999401f6d620baa5c687419fabdc1119df48 /kernel/signal.c
parente5ce7a77922dff56cbe9d8f6d68eed3bf3958137 (diff)
downloadlinux-fsl-qoriq-70b99bd28bdb7efba6f927adad7cc03c52161c94.tar.xz
signal-revert-ptrace-preempt-magic.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index ded28b9..8ed7287 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1908,15 +1908,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info)
if (gstop_done && ptrace_reparented(current))
do_notify_parent_cldstop(current, false, why);
- /*
- * Don't want to allow preemption here, because
- * sys_ptrace() needs this task to be inactive.
- *
- * XXX: implement read_unlock_no_resched().
- */
- preempt_disable();
read_unlock(&tasklist_lock);
- preempt_enable_no_resched();
freezable_schedule();
} else {
/*