Re: [PATCH] Fix compile breakage caused by asmlinkage_protect

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kyle McMartin <kyle@...>
Cc: Linus Torvalds <torvalds@...>, Al Viro <viro@...>, Heiko Carstens <heiko.carstens@...>, Andrew Morton <akpm@...>, Jakub Jelinek <jakub@...>, Dave Jones <davej@...>, <drepper@...>, <mingo@...>, <tglx@...>, Linux Kernel Mailing List <linux-kernel@...>, Roland McGrath <roland@...>
Date: Friday, April 11, 2008 - 12:03 pm

On Fri, 2008-04-11 at 11:37 -0400, Kyle McMartin wrote:

So there is at least one architecture that really requires -traditional,
it is not an option to just remove them. For s390 the kernel compiles
fine without -traditional on the AFLAGS so we can as well remove them.
I'll queue the patch below. In the meantime Heikos patch will have to
do.

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.

---
[PATCH] s390: remove -traditional from AFLAGS

From: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---

diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile
index 4d3e383..cfb6ccc 100644
--- a/arch/s390/kernel/Makefile
+++ b/arch/s390/kernel/Makefile
@@ -2,7 +2,7 @@
 # Makefile for the linux kernel.
 #
 
-EXTRA_AFLAGS	:= -traditional
+EXTRA_AFLAGS	:= 
 
 #
 # Passing null pointers is ok for smp code, since we access the lowcore here.
diff --git a/arch/s390/lib/Makefile b/arch/s390/lib/Makefile
index 5208443..dd6f9f5 100644
--- a/arch/s390/lib/Makefile
+++ b/arch/s390/lib/Makefile
@@ -2,7 +2,7 @@
 # Makefile for s390-specific library files..
 #
 
-EXTRA_AFLAGS := -traditional
+EXTRA_AFLAGS := 
 
 lib-y += delay.o string.o uaccess_std.o uaccess_pt.o
 obj-$(CONFIG_32BIT) += div64.o qrnnd.o
diff --git a/arch/s390/math-emu/Makefile b/arch/s390/math-emu/Makefile
index 73b3e72..42828d3 100644
--- a/arch/s390/math-emu/Makefile
+++ b/arch/s390/math-emu/Makefile
@@ -5,4 +5,4 @@
 obj-$(CONFIG_MATHEMU) := math.o
 
 EXTRA_CFLAGS := -I$(src) -Iinclude/math-emu -w
-EXTRA_AFLAGS := -traditional
+EXTRA_AFLAGS := 


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] asmlinkage_protect replaces prevent_tail_call, Roland McGrath, (Thu Apr 10, 6:37 pm)
[PATCH] Fix compile breakage caused by asmlinkage_protect, Heiko Carstens, (Fri Apr 11, 7:46 am)
Re: [PATCH] Fix compile breakage caused by asmlinkage_protect, Martin Schwidefsky, (Fri Apr 11, 12:03 pm)