[PATCH] [POWERPC] powerpc: Add -mno-spe for ARCH=powerpc builds

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE6885d

4 messages, 3 authors, 2007-10-19 · open the first message on its own page

[PATCH] [POWERPC] powerpc: Add -mno-spe for ARCH=powerpc builds

From: Kumar Gala <hidden>
Date: 2007-10-18 21:56:45

Signed-off-by: Kumar Gala <redacted>
---
 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

Re: [PATCH] [POWERPC] powerpc: Add -mno-spe for ARCH=powerpc builds

From: Paul Mackerras <hidden>
Date: 2007-10-18 23:19:33

Kumar Gala writes:
Signed-off-by: Kumar Gala <redacted>
Your commit message doesn't give any reason why you are doing this, or
any explanation of what goes wrong without it.  In fact, the commit
message is completely empty. :)  Please resubmit with a decent commit
message.

Paul.

Re: [PATCH] [POWERPC] powerpc: Add -mno-spe for ARCH=powerpc builds

From: Kumar Gala <hidden>
Date: 2007-10-19 03:20:09

On Oct 18, 2007, at 6:19 PM, Paul Mackerras wrote:
Kumar Gala writes:
quoted
Signed-off-by: Kumar Gala <redacted>
Your commit message doesn't give any reason why you are doing this, or
any explanation of what goes wrong without it.  In fact, the commit
message is completely empty. :)  Please resubmit with a decent commit
message.
I will, just as an FYI I based this on your commit for -mno-altivec  
(which has no rationale for the commit) :)

- k

Re: [PATCH] [POWERPC] powerpc: Add -mno-spe for ARCH=powerpc builds

From: Josh Boyer <hidden>
Date: 2007-10-19 11:59:15

On Thu, 18 Oct 2007 22:20:49 -0500
Kumar Gala [off-list ref] wrote:
On Oct 18, 2007, at 6:19 PM, Paul Mackerras wrote:
quoted
Kumar Gala writes:
quoted
Signed-off-by: Kumar Gala <redacted>
Your commit message doesn't give any reason why you are doing this, or
any explanation of what goes wrong without it.  In fact, the commit
message is completely empty. :)  Please resubmit with a decent commit
message.
I will, just as an FYI I based this on your commit for -mno-altivec  
(which has no rationale for the commit) :)
Do as he says, not as he does!  ;)

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help