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

From: Ingo Molnar
Date: Wed Mar 14 2007 - 08:54:08 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> Steven Rostedt <rostedt@xxxxxxxxxxx> writes:
> >
> > So I spent last night hacking up something to try to make a common
> > ground for all code that is shared between x86_64 and i386. I
> > called this
> >
> > arch/x86
>
> NACK. I think the current ways work just fine.

i agree. We've recently factored out quite a bit of common code between
i386 and x86_64 recently: genirq, gtod/clocksource and clockevents.

and that's how i think unification of architectures should be done: move
code into kernel/* and drivers/*, _not_ into another architecture. That
way all architectures benefit.

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