Re: [PATCH] asm-generic magic

From: george anzinger (george@mvista.com)
Date: Wed May 07 2003 - 10:08:38 EST


Sam Ravnborg wrote:
> On Wed, May 07, 2003 at 02:35:42AM -0700, george anzinger wrote:
>
>>If the arch wanted to supply only some of the content, the configure
>>option as is used with some today, is still available. CURRENT USAGE
>>IS NOT AFFECTED.
>
>
> The usage of magic symlinks shall be kept minimal.
> The asm -> $(ARCH)-asm symlink already has caused me troubles when
> doing cross compilation. Also the separate obj tree patch treats
> the symlink with special care.
>
> the gain should be high introducing one more symlink.
> For what I understood the gain is only to avoid a couple of
> one line files that include another file. Not enough to justify a
> second symlink IMHO.

That is a good point. To the other side, the symlink is arch
independent and is just "asm->." Also, if you are introducing a file
with asm code, you either cause all "other" archs to fail (till they
catch up) or you must introduce the simple one line file in each arch.

-- 
George Anzinger   george@mvista.com
High-res-timers:  http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:31 EST