powerpc: Fixes for instructions not using correct register naming
These macros are using integers where they could be using logical names since they take registers. We are going to enforce this soon, so fix these up now. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
03a22bfcfd
commit
e55174e911
@@ -309,7 +309,7 @@ _GLOBAL(real_205_readb)
|
||||
mtmsrd r0
|
||||
sync
|
||||
isync
|
||||
LBZCIX(R3,0,R3)
|
||||
LBZCIX(R3,R0,R3)
|
||||
isync
|
||||
mtmsrd r7
|
||||
sync
|
||||
@@ -324,7 +324,7 @@ _GLOBAL(real_205_writeb)
|
||||
mtmsrd r0
|
||||
sync
|
||||
isync
|
||||
STBCIX(R3,0,R4)
|
||||
STBCIX(R3,R0,R4)
|
||||
isync
|
||||
mtmsrd r7
|
||||
sync
|
||||
|
Reference in New Issue
Block a user