diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-01-15 05:59:29 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-28 14:06:10 +0300 |
commit | 64fc2a947a9873700929ec0ef02b4654a04e0476 (patch) | |
tree | e6544adf3c58dd749e5dfc08c94a80fbdd1b59d3 /arch/arm/mach-s3c24xx/pm-s3c2416.c | |
parent | e377cd8221ebbe0b517861aa3d823bb42f9abbd4 (diff) | |
download | linux-64fc2a947a9873700929ec0ef02b4654a04e0476.tar.xz |
ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol
All low-level PM/SMP code using virt_to_phys() should actually use
__pa_symbol() against kernel symbols. Update code where relevant to move
away from virt_to_phys().
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c24xx/pm-s3c2416.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/pm-s3c2416.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/pm-s3c2416.c b/arch/arm/mach-s3c24xx/pm-s3c2416.c index c0e328e37bd6..b5bbf0d5985c 100644 --- a/arch/arm/mach-s3c24xx/pm-s3c2416.c +++ b/arch/arm/mach-s3c24xx/pm-s3c2416.c @@ -48,7 +48,7 @@ static void s3c2416_pm_prepare(void) * correct address to resume from. */ __raw_writel(0x2BED, S3C2412_INFORM0); - __raw_writel(virt_to_phys(s3c_cpu_resume), S3C2412_INFORM1); + __raw_writel(__pa_symbol(s3c_cpu_resume), S3C2412_INFORM1); } static int s3c2416_pm_add(struct device *dev, struct subsys_interface *sif) |