2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00
linux-next/drivers/video/aty
David Miller 8690ba446d [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>
2007-03-05 08:12:54 -08:00
..
ati_ids.h [PATCH] fbdev: ATI RN50 pci id 2005-11-07 07:53:53 -08:00
aty128fb.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
atyfb_base.c [PATCH] atyfb: Fix kconfig error 2007-03-05 07:57:53 -08:00
atyfb.h [PATCH] atyfb: Improve power management 2006-12-08 08:29:07 -08:00
mach64_accel.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mach64_ct.c [PATCH] video/aty/mach64_ct.c: fix bogus delay loop 2007-03-05 08:12:54 -08:00
mach64_cursor.c [PATCH] atyfb: Fix section warnings 2006-06-26 09:58:31 -07:00
mach64_gx.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
Makefile [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
radeon_accel.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeon_backlight.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
radeon_base.c [RADEON]: Fix blanking return value. 2007-03-02 15:22:54 -08:00
radeon_i2c.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
radeon_monitor.c [PATCH] drivers/video/*: use kmemdup() 2006-12-08 08:29:07 -08:00
radeon_pm.c [PATCH] radeonfb supend/resume support for Acer Aspire 2010 2006-10-03 08:04:13 -07:00
radeonfb.h [PATCH] radeonfb sleep fixes 2006-07-31 13:28:45 -07:00