]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/64s: Use PPC_SLBFEE macro
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 6 Nov 2018 08:25:18 +0000 (19:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 6 Nov 2018 08:29:52 +0000 (19:29 +1100)
commit2f16f00e3b26235e2334c1ec6619540741a27bd6
tree4b1e48802d2aeb89f3b01a1353d8f8f68ef2c1f4
parent222307659875b51d6e117cad91ebd408e0e5a6ee
powerpc/mm/64s: Use PPC_SLBFEE macro

Old toolchains don't know about slbfee and break the build, eg:
  {standard input}:37: Error: Unrecognized opcode: `slbfee.'

Fix it by using the macro version. We need to add an underscore
version that takes raw register numbers from the inline asm, rather
than our Rx macros.

Fixes: 6e4f5da45d5f ("powerpc/64s/hash: Add some SLB debugging tests")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/mm/slb.c