usb: musb: omap2430: do vbus disable only when needed
[pandora-kernel.git] / mm / oom_kill.c
index 76f2c5a..9ebc56e 100644 (file)
@@ -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;