From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751189AbXCNQtl (ORCPT ); Wed, 14 Mar 2007 12:49:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751443AbXCNQtk (ORCPT ); Wed, 14 Mar 2007 12:49:40 -0400 Received: from smtp.osdl.org ([65.172.181.24]:45163 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751189AbXCNQtk (ORCPT ); Wed, 14 Mar 2007 12:49:40 -0400 Date: Wed, 14 Mar 2007 09:49:08 -0700 (PDT) From: Linus Torvalds To: Ingo Molnar cc: Steven Rostedt , Andi Kleen , linux-kernel@vger.kernel.org, Andrew Morton , Chris Wright , Rusty Russell , Glauber de Oliveira Costa Subject: Re: [PATCH 00/18] Make common x86 arch area for i386 and x86_64 - Take 2 In-Reply-To: <20070314134112.GB13486@elte.hu> Message-ID: References: <20070314050819.536207642@goodmis.org> <20070314125330.GA13168@elte.hu> <1173879210.31159.30.camel@localhost.localdomain> <20070314134112.GB13486@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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