diff options
Diffstat (limited to 'kernel/exit.c')
| -rw-r--r-- | kernel/exit.c | 15 | 
1 files changed, 2 insertions, 13 deletions
| diff --git a/kernel/exit.c b/kernel/exit.c index 7bb73f9d09d..a949819055d 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -312,17 +312,6 @@ kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent)  	}  } -void __set_special_pids(struct pid *pid) -{ -	struct task_struct *curr = current->group_leader; - -	if (task_session(curr) != pid) -		change_pid(curr, PIDTYPE_SID, pid); - -	if (task_pgrp(curr) != pid) -		change_pid(curr, PIDTYPE_PGID, pid); -} -  /*   * Let kernel threads use this to say that they allow a certain signal.   * Must not be used if kthread was cloned with CLONE_SIGHAND. @@ -819,7 +808,7 @@ void do_exit(long code)  	/*  	 * FIXME: do that only when needed, using sched_exit tracepoint  	 */ -	ptrace_put_breakpoints(tsk); +	flush_ptrace_hw_breakpoint(tsk);  	exit_notify(tsk, group_dead);  #ifdef CONFIG_NUMA @@ -835,7 +824,7 @@ void do_exit(long code)  	/*  	 * Make sure we are holding no locks:  	 */ -	debug_check_no_locks_held(tsk); +	debug_check_no_locks_held();  	/*  	 * We can do this unlocked here. The futex code uses this flag  	 * just to verify whether the pi state cleanup has been done | 
