Skip to contentSkip to conversation

kexec: Fix the purgatory Makefile to build arch specific purgatory code.

PATCH Applied Mahesh J Salgaonkar 2 participants 2 messages Sep 6, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec: Fix the purgatory Makefile to build arch specific purgatory code.

From: Mahesh Salgaonkar <[email protected]>

The latest commit 5e48916 has removed a line from purgatory/Makefile that was responsible for building arch specific purgatory code. This causes kexec -p (loading of panic kernel) to fail. This patch reverts the deleted line.

Verified this fix on x86_64 and ppc64.

---
 purgatory/Makefile |    2 ++
 1 file changed, 2 insertions(+)
purgatory/Makefile +2 -0
index 711799b..ee1679c 100644
@@ -27,6 +27,8 @@ include $(srcdir)/purgatory/arch/s390/Makefile
 include $(srcdir)/purgatory/arch/sh/Makefile
 include $(srcdir)/purgatory/arch/x86_64/Makefile
 
+PURGATORY_SRCS+=$($(ARCH)_PURGATORY_SRCS)
+
 PURGATORY_OBJS = $(call objify, $(PURGATORY_SRCS)) purgatory/sha256.o
 PURGATORY_DEPS = $(call depify, $(PURGATORY_OBJS))
 

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Applied
#1 lore raw
Quoted 9 lines · Mahesh J Salgaonkar

From: Mahesh Salgaonkar <[email protected]>

The latest commit 5e48916 has removed a line from purgatory/Makefile that was responsible for building arch specific purgatory code. This causes kexec -p (loading of panic kernel) to fail. This patch reverts the deleted line.

Verified this fix on x86_64 and ppc64.

Thanks, applied.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec