kernel_optimize_test/drivers/video/riva
Michael Hanselmann e01af0384f [PATCH] powermac: Combined fixes for backlight code
This patch fixes several problems:
- pmac_backlight_key() is called under interrupt context, and therefore
  can't use mutexes or semaphores, so defer the backlight level for
  later, as it's not critical (original code by Aristeu S. Rozanski F.
  <aris@valeta.org>).
- Add exports for functions that might be called from modules
- Fix Kconfig depdencies on PMAC_BACKLIGHT.
- Fix locking issues on calls from inside the driver (reported by
  Aristeu S. Rozanski F., too)
- Fix wrong calculation of backlight values in some of the drivers
- Replace pmac_backlight_key_up/down by inline functions

[akpm@osdl.org: fix function prototypes]
Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Acked-by: Aristeu S. Rozanski F. <aris@valeta.org>
Acked-by: Rene Nussbaumer <linux-kernel@killerfox.forkbomb.ch>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:20 -07:00
..
fbdev.c [PATCH] powermac: Combined fixes for backlight code 2006-07-10 13:24:20 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nv4ref.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nv_driver.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nv_type.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nvreg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
riva_hw.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
riva_hw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
riva_tbl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rivafb-i2c.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rivafb.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00