summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/platsmp-scu.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-11-17 17:24:47 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2020-11-23 11:54:59 +0300
commitd4a617c9bbef94e4a776901cf12c95eafd54504a (patch)
tree08847fc93cb2e3b68407703e3dc9ba3dc7d7e644 /arch/arm/mach-shmobile/platsmp-scu.c
parent5705747c0c8f90aee5a433a94f58c9ffad8a5a37 (diff)
downloadlinux-d4a617c9bbef94e4a776901cf12c95eafd54504a.tar.xz
ARM: shmobile: Stop using __raw_*() I/O accessors
There is no reason to keep on using the __raw_{read,write}l() I/O accessors in Renesas ARM platform code. Switch to using the plain {read,write}l() I/O accessors, to have a chance that this works on big-endian. Suggested-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://lore.kernel.org/r/20201117142447.2205664-1-geert+renesas@glider.be
Diffstat (limited to 'arch/arm/mach-shmobile/platsmp-scu.c')
-rw-r--r--arch/arm/mach-shmobile/platsmp-scu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/platsmp-scu.c b/arch/arm/mach-shmobile/platsmp-scu.c
index fcfcef1d1ae4..3849f71e6e12 100644
--- a/arch/arm/mach-shmobile/platsmp-scu.c
+++ b/arch/arm/mach-shmobile/platsmp-scu.c
@@ -64,7 +64,7 @@ static int shmobile_smp_scu_psr_core_disabled(int cpu)
{
unsigned long mask = SCU_PM_POWEROFF << (cpu * 8);
- if ((__raw_readl(shmobile_scu_base + 8) & mask) == mask)
+ if ((readl(shmobile_scu_base + 8) & mask) == mask)
return 1;
return 0;