summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-05-24 11:02:06 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-25 00:08:26 +1000
commite4ccb1dae6bdef228d729c076c38161ef6e7ca34 (patch)
treef940e6b2bbf17d748fb0a07a5c58a4c85f766650 /arch
parent9c2ddfe55c42bf4b9bc336a0650ab78f9222a159 (diff)
downloadlwn-e4ccb1dae6bdef228d729c076c38161ef6e7ca34.tar.gz
lwn-e4ccb1dae6bdef228d729c076c38161ef6e7ca34.zip
powerpc/8xx: fix invalid register expression in head_8xx.S
New binutils generate the following warning AS arch/powerpc/kernel/head_8xx.o arch/powerpc/kernel/head_8xx.S: Assembler messages: arch/powerpc/kernel/head_8xx.S:916: Warning: invalid register expression This patch fixes it. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/head_8xx.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S
index d8670a37d70c..6cab07e76732 100644
--- a/arch/powerpc/kernel/head_8xx.S
+++ b/arch/powerpc/kernel/head_8xx.S
@@ -913,7 +913,7 @@ start_here:
tovirt(r6,r6)
lis r5, abatron_pteptrs@h
ori r5, r5, abatron_pteptrs@l
- stw r5, 0xf0(r0) /* Must match your Abatron config file */
+ stw r5, 0xf0(0) /* Must match your Abatron config file */
tophys(r5,r5)
stw r6, 0(r5)