]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/oom_kill.c
Merge branch 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / mm / oom_kill.c
index e4b0991ca3516b3fc3590f40da1ede9f8a4ba637..b0be989d43656ce7b19d215a0dbcc450e9c5c510 100644 (file)
@@ -339,8 +339,7 @@ static struct task_struct *select_bad_process(unsigned int *ppoints,
                                 * then wait for it to finish before killing
                                 * some other task unnecessarily.
                                 */
-                               if (!(task_ptrace(p->group_leader) &
-                                                       PT_TRACE_EXIT))
+                               if (!(p->group_leader->ptrace & PT_TRACE_EXIT))
                                        return ERR_PTR(-1UL);
                        }
                }