linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [POWERPC] powerpc: Add -mno-spe for ARCH=powerpc builds
@ 2007-10-18 21:55 Kumar Gala
  2007-10-18 23:19 ` Paul Mackerras
  0 siblings, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2007-10-18 21:55 UTC (permalink / raw)
  To: linuxppc-dev

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 4e16534..bd87626 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -107,6 +107,9 @@ endif
 # No AltiVec instruction when building kernel
 KBUILD_CFLAGS += $(call cc-option,-mno-altivec)

+# No SPE instruction when building kernel
+KBUILD_CFLAGS += $(call cc-option,-mno-spe)
+
 # Enable unit-at-a-time mode when possible. It shrinks the
 # kernel considerably.
 KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time)
-- 
1.5.2.4

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

end of thread, other threads:[~2007-10-19 13:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 21:55 [PATCH] [POWERPC] powerpc: Add -mno-spe for ARCH=powerpc builds Kumar Gala
2007-10-18 23:19 ` Paul Mackerras
2007-10-19  3:20   ` Kumar Gala
2007-10-19 11:59     ` Josh Boyer
2007-10-19 12:49     ` Jon Loeliger
2007-10-19 13:00       ` [POWERPC v2] " Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).