[PATCH] kexec/ppc: Use -O0 instead of -Os for purgatory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux