aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/pci.h
diff options
context:
space:
mode:
authorVictor Kamensky <victor.kamensky@linaro.org>2013-09-29 21:19:14 -0700
committerGary S. Robertson <gary.robertson@linaro.org>2015-06-16 14:33:05 -0500
commit6063a99d936abaf77b8afab50edf71ee2829eadf (patch)
tree264d31b53fb8b9c247ac9a193ac32ab6dbe8cb8c /arch/x86/include/asm/pci.h
parent6d72e992b906e264aff652716507678f6b894fe1 (diff)
exynos: driver raw read and write endian fix
Need to use endian neutral functions to read/write LE h/w registers. I.e instead of __raw_read[lw] and _raw_write[lw] functions code need to use read[lw]_relaxed and write[lw]_relaxed functions. If the first just read/write register with memory barrier, the second will byteswap it if host operates in BE mode. This patch covers drivers used by arndale board where all changes are trivial, sed like replacement of __raw_xxx functions with xxx_relaxed variant. Literally this sed program was used to make the change: s|__raw_readl|readl_relaxed|g s|__raw_writel|writel_relaxed|g s|__raw_readw|readw_relaxed|g s|__raw_writew|writew_relaxed|g Original patch signed-by: Victor Kamensky <victor.kamensky@linaro.org> Original patch signed-by: Anders Roxell <anders.roxell@linaro.org> Merged into linux v3.18.11 by Gary S. Robertson Conflicts: arch/arm/mach-exynos/platsmp.c Conflicts: arch/arm/mach-exynos/common.c arch/arm/mach-exynos/cpuidle.c arch/arm/mach-exynos/hotplug.c arch/arm/mach-exynos/include/mach/pm-core.h arch/arm/mach-exynos/platsmp.c arch/arm/mach-exynos/pm.c arch/arm/mach-exynos/pm_domains.c arch/arm/mach-exynos/pmu.c arch/arm/plat-samsung/pm.c drivers/clk/samsung/clk-pll.c drivers/clk/samsung/clk.c drivers/clocksource/exynos_mct.c drivers/cpufreq/exynos4210-cpufreq.c drivers/cpufreq/exynos4x12-cpufreq.c drivers/cpufreq/exynos5250-cpufreq.c drivers/cpufreq/exynos5440-cpufreq.c drivers/gpio/gpio-samsung.c drivers/thermal/samsung/exynos_tmu.c Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
Diffstat (limited to 'arch/x86/include/asm/pci.h')
0 files changed, 0 insertions, 0 deletions