forked from Minki/linux
f571872671
ppc has special instruction forms to efficiently load and store values in non-native endianness. These can be accessed via the arch-specific {ld,st}_le{16,32}() inlines in arch/powerpc/include/asm/swab.h. However, gcc is perfectly capable of generating the byte-reversing load/store instructions when using the normal, generic cpu_to_le*() and le*_to_cpu() functions eaning the arch-specific functions don't have much point. Worse the "le" in the names of the arch specific functions is now misleading, because they always generate byte-reversing forms, but some ppc machines can now run a little-endian kernel. To start getting rid of the arch-specific forms, this patch removes them from all the old Power Macintosh drivers, replacing them with the generic byteswappers. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
||
---|---|---|
.. | ||
ams | ||
adb-iop.c | ||
adb.c | ||
adbhid.c | ||
ans-lcd.c | ||
ans-lcd.h | ||
apm_emu.c | ||
Kconfig | ||
mac_hid.c | ||
macio_asic.c | ||
macio_sysfs.c | ||
macio-adb.c | ||
Makefile | ||
mediabay.c | ||
nvram.c | ||
rack-meter.c | ||
smu.c | ||
therm_adt746x.c | ||
therm_windtunnel.c | ||
via-cuda.c | ||
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 | ||
via-pmu.c | ||
windfarm_ad7417_sensor.c | ||
windfarm_core.c | ||
windfarm_cpufreq_clamp.c | ||
windfarm_fcu_controls.c | ||
windfarm_lm75_sensor.c | ||
windfarm_lm87_sensor.c | ||
windfarm_max6690_sensor.c | ||
windfarm_mpu.h | ||
windfarm_pid.c | ||
windfarm_pid.h | ||
windfarm_pm72.c | ||
windfarm_pm81.c | ||
windfarm_pm91.c | ||
windfarm_pm112.c | ||
windfarm_pm121.c | ||
windfarm_rm31.c | ||
windfarm_smu_controls.c | ||
windfarm_smu_sat.c | ||
windfarm_smu_sensors.c | ||
windfarm.h |