Files
twx-linux/drivers/video
David S. Miller 2d3bc628ad video/aty/mach64_ct.c: fix bogus delay loop
CT based mach64 cards were reported to hang on sparc64 boxes when
compiled with gcc-4.1.x and later.

Looking at this piece of code, it's no surprise.  A critical
delay was implemented as an empty for() loop, and gcc 4.0.x
and previous did not optimize it away, so we did get a delay.

But gcc-4.1.x and later can optimize it away, and we get crashes.

Use a real udelay() to fix this.  Fix verified on SunBlade100.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
2007-03-08 08:17:20 +01:00
..
2006-03-11 09:19:35 -08:00
2006-01-12 09:09:05 -08:00
2006-10-13 18:16:26 +02:00
2006-03-11 09:19:35 -08:00
2006-02-15 10:13:02 +00:00
2006-01-17 15:53:11 -08:00
2006-01-17 15:53:11 -08:00
2006-03-11 09:19:36 -08:00