kernel_optimize_test/drivers/macintosh
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
..
adb-iop.c
adb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
adbhid.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ans-lcd.c
apm_emu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [PATCH] powermac: Combined fixes for backlight code 2006-07-10 13:24:20 -07:00
mac_hid.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
macio_asic.c [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
macio_sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
macio-adb.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
Makefile [POWERPC] Convert powermac ide blink to new led infrastructure 2006-06-28 11:51:12 +10:00
mediabay.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nvram.c
smu.c [PATCH] powerpc: fix SMU driver interrupt mapping 2006-07-10 13:24:20 -07:00
therm_adt746x.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
therm_pm72.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
therm_pm72.h typo fixes: mecanism -> mechanism 2006-06-30 18:20:44 +02:00
therm_windtunnel.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
via-cuda.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
via-macii.c
via-maciisi.c
via-pmu68k.c
via-pmu-backlight.c
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c [POWERPC] Convert powermac ide blink to new led infrastructure 2006-06-28 11:51:12 +10:00
via-pmu.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
windfarm_core.c
windfarm_cpufreq_clamp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
windfarm_lm75_sensor.c
windfarm_max6690_sensor.c
windfarm_pid.c
windfarm_pid.h
windfarm_pm81.c
windfarm_pm91.c
windfarm_pm112.c
windfarm_smu_controls.c
windfarm_smu_sat.c
windfarm_smu_sensors.c
windfarm.h