Files
twx-linux/drivers/video
David Miller d9202f1771 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>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-09 10:50:31 -08:00
..
2006-12-08 08:28:50 -08:00
2006-11-16 22:18:28 -08:00
2006-10-19 16:30:32 +09:00
2006-12-08 08:29:05 -08:00
2006-12-08 08:29:08 -08:00
2006-12-13 09:05:55 -08:00
2006-12-08 08:29:06 -08:00