linux-next: build failure after merge of the powerpc tree
Subsystems (2)
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc64 allnoconfig) failed like this:
arch/powerpc/kernel/irq.o: In function `.replay_system_reset':
irq.c:(.text+0x10): undefined reference to `.ppc_save_regs'
Caused by commit
78adf6c214f0 ("powerpc/64s: Implement system reset idle wakeup reason")
I have applied the following fix patch:
From: Stephen Rothwell <[email protected]>
Date: Thu, 2 Nov 2017 17:45:18 +1100
Subject: [PATCH] powerpc/64s: ppc_save_regs is now needed for all 64s builds
--- arch/powerpc/kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kernel/Makefile +1 -1
@@ -128,7 +128,7 @@ obj64-$(CONFIG_PPC_TRANSACTIONAL_MEM) += tm.o obj-$(CONFIG_PPC64) += $(obj64-y) obj-$(CONFIG_PPC32) += $(obj32-y) -ifneq ($(CONFIG_XMON)$(CONFIG_KEXEC_CORE),) +ifneq ($(CONFIG_XMON)$(CONFIG_KEXEC_CORE)(CONFIG_PPC_BOOK3S),) obj-y += ppc_save_regs.o endif
Signature · 5 lines
2.14.1 -- Cheers, Stephen Rothwell
Michael Ellerman
AppliedQuoted 12 lines · Stephen Rothwell
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc64 allnoconfig) failed like this:
arch/powerpc/kernel/irq.o: In function `.replay_system_reset':
irq.c:(.text+0x10): undefined reference to `.ppc_save_regs'Caused by commit
78adf6c214f0("powerpc/64s: Implement system reset idle wakeup reason")
Quoted 8 lines
I have applied the following fix patch:
From: Stephen Rothwell <[email protected]>
Date: Thu, 2 Nov 2017 17:45:18 +1100
Subject: [PATCH] powerpc/64s:ppc_save_regsis now needed for all 64s buildsFixes 78adf6c214f0 ("powerpc/64s: Implement system reset idle wakeup reason")Signed-off-by Stephen Rothwell <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/fc2a5a6161a26b386eb0936b74a852
cheers