2003-02-20 02:53:12

by Dave Airlie

[permalink] [raw]
Subject: [patch] i810 for loop replaced with udelay


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: