e01af0384f
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> |
||
---|---|---|
.. | ||
backlight.c | ||
bootx_init.c | ||
cache.S | ||
cpufreq_32.c | ||
cpufreq_64.c | ||
feature.c | ||
low_i2c.c | ||
Makefile | ||
nvram.c | ||
pci.c | ||
pfunc_base.c | ||
pfunc_core.c | ||
pic.c | ||
pic.h | ||
pmac.h | ||
setup.c | ||
sleep.S | ||
smp.c | ||
time.c | ||
udbg_adb.c | ||
udbg_scc.c |