summaryrefslogtreecommitdiff
path: root/arch/i386/Kconfig
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2007-03-05 01:35:36 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-05 08:12:54 -0800
commit8690ba446defe2e2b81803756c099d2943dfd5fd (patch)
treec7df0f8765ffeeb192ae2a338427c4158100d77d /arch/i386/Kconfig
parent8f485612231792373580e8b2fe8ceb3791549aa5 (diff)
[PATCH] 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: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/Kconfig')
0 files changed, 0 insertions, 0 deletions