]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc: do not build ppc_save_regs.o always
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Thu, 17 Apr 2025 10:53:05 +0000 (12:53 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Tue, 29 Apr 2025 05:46:23 +0000 (11:16 +0530)
commit497b7794aef03d525a5be05ae78dd7137c6861a5
tree71393d695e68a438199c37c79e7248cfb3ea5924
parent9cc0eafd28c7faef300822992bb08d79cab2a36c
powerpc: do not build ppc_save_regs.o always

The Fixes commit below tried to add CONFIG_PPC_BOOK3S to one of the
conditions to enable the build of ppc_save_regs.o. But it failed to do
so, in fact. The commit omitted to add a dollar sign.

Therefore, ppc_save_regs.o is built always these days (as
"(CONFIG_PPC_BOOK3S)" is never an empty string).

Fix this by adding the missing dollar sign.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Fixes: fc2a5a6161a2 ("powerpc/64s: ppc_save_regs is now needed for all 64s builds")
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250417105305.397128-1-jirislaby@kernel.org
arch/powerpc/kernel/Makefile