public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] kexec: Fix the purgatory Makefile to build arch specific purgatory code.
@ 2012-09-06  9:13 Mahesh J Salgaonkar
  2012-09-06 22:06 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Mahesh J Salgaonkar @ 2012-09-06  9:13 UTC (permalink / raw)
  To: Simon Horman, Kexec-ml

From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>

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.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
---
 purgatory/Makefile |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/purgatory/Makefile b/purgatory/Makefile
index 711799b..ee1679c 100644
--- a/purgatory/Makefile
+++ b/purgatory/Makefile
@@ -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
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kexec: Fix the purgatory Makefile to build arch specific purgatory code.
  2012-09-06  9:13 [PATCH] kexec: Fix the purgatory Makefile to build arch specific purgatory code Mahesh J Salgaonkar
@ 2012-09-06 22:06 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2012-09-06 22:06 UTC (permalink / raw)
  To: Mahesh J Salgaonkar; +Cc: Kexec-ml

On Thu, Sep 06, 2012 at 02:43:55PM +0530, Mahesh J Salgaonkar wrote:
> From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
> 
> 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.
> 
> Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>

Thanks, applied.

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-06 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06  9:13 [PATCH] kexec: Fix the purgatory Makefile to build arch specific purgatory code Mahesh J Salgaonkar
2012-09-06 22:06 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox