android_kernel_samsung_msm8976/drivers/macintosh
Paul Mackerras c61dace9a1 [POWERPC] Convert adb.c to use kthread API and not spin on ADB requests
This converts adb.c to use the kthread API.

It also changes adb_request so that if the ADBREQ_SYNC flag is
specified, we now sleep waiting for the request to finish using an
on-stack completion rather than spinning.  To implement this, we now
require that if the ADBREQ_SYNC flag is set, the `done' parameter must
be NULL.  All of the existing callers of adb_request that pass
ADBREQ_SYNC appear to be in process context and have done == NULL.
Doing this allows us to get rid of an awful hack in adb_request()
where we used to test whether the request was coming from the adb
probe task and use a completion if it was, and otherwise spin.

This also gets rid of a static request block that was used if the req
parameter to adb_request was NULL.  None of the callers do that any
more, so the static request block is no longer necessary.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-12-19 15:22:02 +11:00
..
adb-iop.c
adb.c [POWERPC] Convert adb.c to use kthread API and not spin on ADB requests 2007-12-19 15:22:02 +11:00
adbhid.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
ans-lcd.c
ans-lcd.h
apm_emu.c
Kconfig Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-10-12 21:27:47 -04:00
mac_hid.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
macio-adb.c
macio_asic.c
macio_sysfs.c
Makefile
mediabay.c [POWERPC] Convert media-bay.c to use the kthread API 2007-12-19 15:22:02 +11:00
nvram.c
rack-meter.c
smu.c
therm_adt746x.c
therm_pm72.c
therm_pm72.h
therm_windtunnel.c
via-cuda.c
via-macii.c
via-maciisi.c
via-pmu-backlight.c
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c
via-pmu.c [POWERPC] via-pmu: Kill sleep notifiers completely 2007-12-19 15:00:59 +11:00
via-pmu68k.c
windfarm.h
windfarm_core.c [POWERPC] windfarm: Fix windfarm thread freezer interaction 2007-11-08 14:15:34 +11:00
windfarm_cpufreq_clamp.c
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