]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: fix build failure on book3e with KVM
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 23 May 2019 08:39:27 +0000 (08:39 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 15 Jun 2019 14:03:38 +0000 (00:03 +1000)
commit20c6a467da0ac10b2b6c91115ae4a293cea0142f
tree179943409555017d04f5104635650fdb94c72ff5
parent7ab81986dcf619aff9c4d21114245c12a9b7d7cc
powerpc/32: fix build failure on book3e with KVM

Build failure was introduced by the commit identified below,
due to missed macro expension leading to wrong called function's name.

arch/powerpc/kernel/head_fsl_booke.o: In function `SystemCall':
arch/powerpc/kernel/head_fsl_booke.S:416: undefined reference to `kvmppc_handler_BOOKE_INTERRUPT_SYSCALL_SPRN_SRR1'
Makefile:1052: recipe for target 'vmlinux' failed

The called function should be kvmppc_handler_8_0x01B(). This patch fixes it.

Reported-by: Paul Mackerras <paulus@ozlabs.org>
Fixes: 71cdaf71c543 ("powerpc/32: implement fast entry for syscalls on BOOKE")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/head_fsl_booke.S