[PATCH] mm: fix-up schedule_timeout() usage
[pandora-kernel.git] / mm / oom_kill.c
index 5ec8da1..ac3bf33 100644 (file)
@@ -300,6 +300,5 @@ retry:
         * Give "p" a good chance of killing itself before we
         * retry to allocate memory.
         */
-       __set_current_state(TASK_INTERRUPTIBLE);
-       schedule_timeout(1);
+       schedule_timeout_interruptible(1);
 }