summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2007-03-05 15:53:45 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-03-09 10:50:31 -0800
commitd9202f177156d05eba30cf2a25fc15d8f5cca8b5 (patch)
treedb7a5541cb2cf98760d1984923424020efc168ea /net/lapb/lapb_in.c
parentcb1e01df3290e1806d1800a14fcd085248f48560 (diff)
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>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions