[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703140850250.9690@woody.linux-foundation.org>
Date: Wed, 14 Mar 2007 08:54:08 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Ingo Molnar <mingo@...e.hu>
cc: Andi Kleen <andi@...stfloor.org>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Chris Wright <chrisw@...s-sol.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Glauber de Oliveira Costa <glommer@...il.com>
Subject: Re: [PATCH 00/18] Make common x86 arch area for i386 and x86_64 -
Take 2
On Wed, 14 Mar 2007, Ingo Molnar wrote:
>
> 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.
Don't be silly.
Did you even *look* at the patches?
We're talking about things like
b/arch/x86/kernel/cpu/cpufreq/powernow-k8.h
so please tell me what drugs you are on that say that we should move this
into kernel/* and drivers/* and make all architectures benefit. It's
*x86* specific, it's just that k8 exists both in 32-bit and 64-bit land.
The file is *already* shared, it's just that right now it is not in a
shared location. Right now it is in arch/i386/ (as if it was
i386-specific) and then x86-64 includes it with:
arch/x86_64/kernel/cpufreq/Makefile:
#
# Reuse the i386 cpufreq drivers
#
SRCDIR := ../../../i386/kernel/cpu/cpufreq
and anybody who thinks this is "nice" simply has no taste at all.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists