summaryrefslogtreecommitdiffstats
path: root/Documentation/arm
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-07-17 15:39:28 +0200
committerJonathan Corbet <corbet@lwn.net>2017-07-17 13:43:58 -0600
commit7673f5b14f6b28416ff3f4ed28bf97db7dc21546 (patch)
treea60c9afcc5197efadc4c5651b5d099f48964cb84 /Documentation/arm
parent6e322a17fbe574a1558abab10bb89205031ec921 (diff)
downloadop-kernel-dev-7673f5b14f6b28416ff3f4ed28bf97db7dc21546.zip
op-kernel-dev-7673f5b14f6b28416ff3f4ed28bf97db7dc21546.tar.gz
Documentation: arm: Replace use 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 the documentation to move away from virt_to_phys(). Cfr. commit 6996cbb2372189f7 ("ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/arm')
-rw-r--r--Documentation/arm/firmware.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/arm/firmware.txt b/Documentation/arm/firmware.txt
index da6713a..7f175db 100644
--- a/Documentation/arm/firmware.txt
+++ b/Documentation/arm/firmware.txt
@@ -60,7 +60,7 @@ Example of using a firmware operation:
/* some platform code, e.g. SMP initialization */
- __raw_writel(virt_to_phys(exynos4_secondary_startup),
+ __raw_writel(__pa_symbol(exynos4_secondary_startup),
CPU1_BOOT_REG);
/* Call Exynos specific smc call */
OpenPOWER on IntegriCloud