X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Foom_kill.c;h=9ebc56e1e2eb18df23073b6a1b39c10474cb5274;hb=d04d63797682e2200e32d6e6b097d00a798a2df0;hp=76f2c5ae908e85a858c006d932edcdf9128e0cc2;hpb=c28800a9c3caaf387d85ac665a25ebe99e480295;p=pandora-kernel.git diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 76f2c5ae908e..9ebc56e1e2eb 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -143,6 +143,7 @@ struct task_struct *find_lock_task_mm(struct task_struct *p) return NULL; } +EXPORT_SYMBOL_GPL(find_lock_task_mm); /* return true if the task is not adequate as candidate victim task. */ static bool oom_unkillable_task(struct task_struct *p, @@ -176,7 +177,7 @@ static bool oom_unkillable_task(struct task_struct *p, unsigned int oom_badness(struct task_struct *p, struct mem_cgroup *mem, const nodemask_t *nodemask, unsigned long totalpages) { - int points; + long points; if (oom_unkillable_task(p, mem, nodemask)) return 0;