]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: ppc_save_regs is now needed for all 64s builds
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 2 Nov 2017 06:49:36 +0000 (17:49 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 12 Nov 2017 12:44:36 +0000 (23:44 +1100)
commit949b5888f72f7b4bdc6e742a55f6500267f3bdd8
treeade036edf36b8af6506dc7849fb7858d48b0dcbd
parent45d0d0fb51b045f23065d26b5a8bbedfc2ab3e01
powerpc/64s: ppc_save_regs is now needed for all 64s builds

Commit e170c188962a ("powerpc/64s: Implement system reset idle wakeup
reason"), added a call to ppc_save_regs() in the book3s code.

ppc_save_regs() is only built if XMON and/or KEXEC_CORE are enabled,
which is usually the case, however if they're not enabled then the
build breaks.

Fix it by making the Makefile check also build ppc_save_regs.o if
CONFIG_PPC_BOOK3S is enabled.

Fixes: e170c188962a ("powerpc/64s: Implement system reset idle wakeup reason")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
[mpe: Write change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/Makefile