summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2013-11-19 10:15:45 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-12-04 19:22:16 +0400
commit933dacd0cfe5e82ad9235f99cfe20fc31aa6dfb5 (patch)
tree7b9f9968ec362ab1839f77750e5c8d13de07c48b
parent877f4d90e01d402c576408fdce37fd9f2559e04a (diff)
ARM: OMAP4460: cpuidle: raw write endian fix for gic_dist_disable()
This complements "[PATCH v2] ARM: OMAP4460: cpuidle: Extend PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD on cpuidle" in the big endian case. As "[RFC 00/23] OMAP4: big endian support and fixes" is not aware of the newly introduced gic_dist_disable(). Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r--arch/arm/mach-omap2/omap4-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
index 188b53682345..0b32b5ed0f80 100644
--- a/arch/arm/mach-omap2/omap4-common.c
+++ b/arch/arm/mach-omap2/omap4-common.c
@@ -130,7 +130,7 @@ void gic_dist_disable(void)
void gic_dist_enable(void)
{
if (gic_dist_base_addr)
- __raw_writel(0x1, gic_dist_base_addr + GIC_DIST_CTRL);
+ writel_relaxed(0x1, gic_dist_base_addr + GIC_DIST_CTRL);
}
bool gic_dist_disabled(void)