Re: [PATCH 00/18] Make common x86 arch area for i386 and x86_64 - Take 2

Linus Torvalds
2007-03-14T16:49:41Z

On Wed, 14 Mar 2007, Ingo Molnar wrote:
>
> symbolic links perhaps? In that case i'd also introduce a common naming
> scheme: x86_early_printk.c - to make sure we know it right away that
> those files are bi-arch.

Hey, I know! This is a radical idea, but what if we put the name at the
head of the file, and called it

arch/x86/kernel/early_printk.c

instead? Then we could teach each of i386 and x86-64 to include it from
that area, and we could put other shared files under the same directory
hierarchy so that it would be easy to see which ones are shared?

Crazy idea, I know. But I think I saw somebody send out a patch kind of
like that, so maybe this common naming scheme could be as simple as just
applying a few patches once they got cleaned up and re-organized some
more.

Linus