diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-11-02 07:49:36 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-11-12 13:44:36 +0100 |
commit | fc2a5a6161a26b386eb0936b74a852ff83793fb6 (patch) | |
tree | ade036edf36b8af6506dc7849fb7858d48b0dcbd /arch/powerpc/kernel/optprobes.c | |
parent | powerpc/mm/radix: Fix crashes on Power9 DD1 with radix MMU and STRICT_RWX (diff) | |
download | linux-fc2a5a6161a26b386eb0936b74a852ff83793fb6.tar.xz linux-fc2a5a6161a26b386eb0936b74a852ff83793fb6.zip |
powerpc/64s: ppc_save_regs is now needed for all 64s builds
Commit 78adf6c214f0 ("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: 78adf6c214f0 ("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>
Diffstat (limited to 'arch/powerpc/kernel/optprobes.c')
0 files changed, 0 insertions, 0 deletions