]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/exit.c
[PATCH] x86-64: split remaining fake nodes equally
[linux-2.6-omap-h63xx.git] / kernel / exit.c
index f132349c032569c94d4b3cd710b0c74fe8d0eec5..b55ed4cc91044803a45b74d568d83f9727575b8b 100644 (file)
@@ -790,7 +790,7 @@ static void exit_notify(struct task_struct *tsk)
        
        pgrp = task_pgrp(tsk);
        if ((task_pgrp(t) != pgrp) &&
-           (task_session(t) != task_session(tsk)) &&
+           (task_session(t) == task_session(tsk)) &&
            will_become_orphaned_pgrp(pgrp, tsk) &&
            has_stopped_jobs(pgrp)) {
                __kill_pgrp_info(SIGHUP, SEND_SIG_PRIV, pgrp);