]> err.no Git - linux-2.6/blobdiff - mm/oom_kill.c
KVM: Portability: Move kvm_vcpu_stat to x86.h
[linux-2.6] / mm / oom_kill.c
index 91a081a82f55a330706f92d92cd54186ea6339af..96473b482099793384af969b8158e1306e2d4f58 100644 (file)
@@ -286,7 +286,7 @@ static void __oom_kill_task(struct task_struct *p, int verbose)
         * all the memory it needs. That way it should be able to
         * exit() and clear out its resources quickly...
         */
-       p->time_slice = HZ;
+       p->rt.time_slice = HZ;
        set_tsk_thread_flag(p, TIF_MEMDIE);
 
        force_sig(SIGKILL, p);