aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorJeremy Erickson <jerickso@cs.unc.edu>2014-04-18 17:06:00 -0400
committerJeremy Erickson <jerickso@cs.unc.edu>2014-04-18 17:06:00 -0400
commita215aa7b9ab3759c047201199fba64d3042d7f13 (patch)
treebca37493d9b2233450e6d3ffced1261d0e4f71fe /kernel/fork.c
parentd31199a77ef606f1d06894385f1852181ba6136b (diff)
Update 2.6.36 to 2.6.36.4wip-dissipation2-jerickso
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index ab7f29d906c7..d01a7514125b 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -279,6 +279,7 @@ static struct task_struct *dup_task_struct(struct task_struct *orig)
279 279
280 setup_thread_stack(tsk, orig); 280 setup_thread_stack(tsk, orig);
281 clear_user_return_notifier(tsk); 281 clear_user_return_notifier(tsk);
282 clear_tsk_need_resched(tsk);
282 stackend = end_of_stack(tsk); 283 stackend = end_of_stack(tsk);
283 *stackend = STACK_END_MAGIC; /* for overflow detection */ 284 *stackend = STACK_END_MAGIC; /* for overflow detection */
284 285