]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit08e6a3434e2125e4b21d0d3f84678d427345bc0d
tree4b1e48802d2aeb89f3b01a1353d8f8f68ef2c1f4
parent0ae790683fc28bb718d74f87cdf753c6445fe28d
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: e15a4fea4dee ("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