mm: oom_kill: clean up victim marking and exiting interfaces
[linux-2.6-block.git] / drivers / staging / android / lowmemorykiller.c
index feafa172b155a2ecabea27dfe3b149efb0dd2745..2345ee7342d9bfb428f672c7cb3af2cc56cc89f6 100644 (file)
@@ -165,7 +165,7 @@ static unsigned long lowmem_scan(struct shrinker *s, struct shrink_control *sc)
                 * infrastructure. There is no real reason why the selected
                 * task should have access to the memory reserves.
                 */
-               mark_tsk_oom_victim(selected);
+               mark_oom_victim(selected);
                send_sig(SIGKILL, selected, 0);
                rem += selected_tasksize;
        }