[patch] i810 for loop replaced with udelay

From: Dave Airlie (airlied@linux.ie)
Date: Wed Feb 19 2003 - 22:03:08 EST


Trivial patch pulled from the DRI tree against 2.4.20, please apply ..

Dave.

--- kernel-2.4-orig/drivers/char/drm/i810_dma.c 2003-02-20 14:04:22.000000000 +1100
+++ kernel-2.4/drivers/char/drm/i810_dma.c 2003-02-20 14:04:53.000000000 +1100
@@ -317,7 +317,7 @@
                            goto out_wait_ring;
                 }

- for (i = 0 ; i < 2000 ; i++) ;
+ udelay(1);
         }

 out_wait_ring:

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:27 EST