Skip to content
Commit fc2a5a61 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Michael Ellerman
Browse files

powerpc/64s: ppc_save_regs is now needed for all 64s builds

Commit 78adf6c2 ("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: 78adf6c2

 ("powerpc/64s: Implement system reset idle wakeup reason")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
[mpe: Write change log]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent f79ad50e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment