]> 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)
commit704963cf9f3db714ddde8c5bdea2262fd52b3123
tree4b1e48802d2aeb89f3b01a1353d8f8f68ef2c1f4
parent6f168410b8595b6574fc5cb7d94e4c6e2ec85b96
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: 3a2932425c10 ("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