[PATCH] kexec/ppc: Use -O0 instead of -Os for purgatory
Matthew McClintock
msm at freescale.com
Tue Oct 5 15:17:23 EDT 2010
Purgatory code with -Os is not working on certain compilers,
instead of finding out the hard way, just compile with -O0
Signed-off-by: Matthew McClintock <msm at freescale.com>
---
Tried to get a dicussion going on this issue, but for now I
suspect it is better to have a working kexec on ppc instead of
waiting
purgatory/arch/ppc/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/purgatory/arch/ppc/Makefile b/purgatory/arch/ppc/Makefile
index 72289a0..319870e 100644
--- a/purgatory/arch/ppc/Makefile
+++ b/purgatory/arch/ppc/Makefile
@@ -2,6 +2,8 @@
# Purgatory ppc
#
+ppc_PURGATORY_EXTRA_CFLAGS = -O0
+
ppc_PURGATORY_SRCS += purgatory/arch/ppc/v2wrap_32.S
ppc_PURGATORY_SRCS += purgatory/arch/ppc/misc.S
ppc_PURGATORY_SRCS += purgatory/arch/ppc/purgatory-ppc.c
--
1.6.6.1
More information about the kexec
mailing list