Re: [PATCH] reorganize <linux/linkage.h>

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Friday, April 11, 2008 - 7:58 am

On Fri, 11 Apr 2008, Kyle McMartin wrote:

Ok, so s390 had a similar issue, and I assumed that they were just usign a 
broken C pre-processor for asm, but now I'm starting to wonder about it.

Why cannot your pre-processor handle that thing?

It doesn't matter if it is C or assembly, the pre-processor should be the 
same. That #define isn't used for asm, so it shouldn't _matter_ for asm. 
What's going on?

I'm starting to suspect that it's the fact that some architectures still 
have

	EXTRA_AFLAGS  := -traditional

or equivalent and I'm wondering whether that is really necessary. IIRC x86 
got rid of the use of --traditional a long time ago, exactly because it 
caused problems with any fancier C preprocessor things.

It would probably be much better to try to lose that -traditional from 
affected architectures, because otherwise issues like this will keep 
popping up just because the most common architecture doesn't use the 
limited preprocessor..

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

Messages in current thread:
[PATCH] reorganize &lt;linux/linkage.h&gt;, Kyle McMartin, (Thu Apr 10, 10:00 pm)
Re: [PATCH] reorganize <linux/linkage.h>, Linus Torvalds, (Fri Apr 11, 7:58 am)
Re: [PATCH] reorganize &lt;linux/linkage.h&gt;, David Miller, (Fri Apr 11, 11:26 am)