powerpc/83xx: fix compilation error for MPC8315ERDB
PATCH 1/1 powerpc/83xx: fix compilation error for MPC8315ERDB
From: Ramneek Mehresh <[email protected]>
Defines get_svr() for 83xx devices
Signed-off-by Ramneek Mehresh <[email protected]>
--- arch/powerpc/cpu/mpc83xx/start.S | 5 +++++ 1 file changed, 5 insertions(+)
arch/powerpc/cpu/mpc83xx/start.S +5 -0
@@ -120,6 +120,11 @@ disable_addr_trans: mtspr SRR1, r3 rfi + .globl get_svr +get_svr: + mfspr r3, SVR + blr + .globl get_pvr get_pvr: mfspr r3, PVR
Signature · 1 line
1.7.11.7
PATCH 1/1 powerpc/83xx: fix compilation error for MPC8315ERDB
Quoted 16 lines · Nikhil Badola
From: Ramneek Mehresh <[email protected]>
Defines
get_svr()for 83xx devicesSigned-off-by Ramneek Mehresh <[email protected]>--- arch/powerpc/cpu/mpc83xx/start.S | 5 +++++ 1 file changed, 5 insertions(+)arch/powerpc/cpu/mpc83xx/start.S +0
-0@@ -120,6 +120,11 @@ disable_addr_trans: mtspr SRR1, r3
arch/powerpc/cpu/mpc83xx/start.S disable_addr_trans: · line 130
Quoted 10 lines
arch/powerpc/cpu/mpc83xx/start.S +5
-0rfi + .globl get_svr +get_svr: + mfspr r3, SVR + blr + .globl get_pvr get_pvr: mfspr r3, PVR
Please share how to reproduce the compilation error. I don't see it.
York
PATCH 1/1 powerpc/83xx: fix compilation error for MPC8315ERDB
In reply to Nikhil BadolaQuoted 15 lines · Nikhil Badola
From: Ramneek Mehresh <[email protected]>
Defines
get_svr()for 83xx devicesSigned-off-by Ramneek Mehresh <[email protected]>--- arch/powerpc/cpu/mpc83xx/start.S | 5 +++++ 1 file changed, 5 insertions(+)arch/powerpc/cpu/mpc83xx/start.S +0
-0@@ -120,6 +120,11 @@ disable_addr_trans: mtspr SRR1, r3
arch/powerpc/cpu/mpc83xx/start.S disable_addr_trans: · line 130
Quoted 10 lines
arch/powerpc/cpu/mpc83xx/start.S +5
-0rfi + .globl get_svr +get_svr: + mfspr r3, SVR + blr + .globl get_pvr get_pvr: mfspr r3, PVR
Instead of this, how about turning these into straightforward non-subarch-specific inline functions?
-Scott