V4L/DVB (10078): video: add NV16 and NV61 pixel formats
[pandora-kernel.git] / kernel / sched_fair.c
index 928cd74..5ad4440 100644 (file)
@@ -492,6 +492,8 @@ static void update_curr(struct cfs_rq *cfs_rq)
         * overflow on 32 bits):
         */
        delta_exec = (unsigned long)(now - curr->exec_start);
+       if (!delta_exec)
+               return;
 
        __update_curr(cfs_rq, curr, delta_exec);
        curr->exec_start = now;