From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935910AbYEVBgW (ORCPT ); Wed, 21 May 2008 21:36:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759006AbYEVBgM (ORCPT ); Wed, 21 May 2008 21:36:12 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:54334 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758216AbYEVBgL (ORCPT ); Wed, 21 May 2008 21:36:11 -0400 Date: Thu, 22 May 2008 02:36:08 +0100 From: Al Viro To: Linus Torvalds Cc: Harvey Harrison , Paul Mackerras , Takashi Iwai , linux-kernel@vger.kernel.org Subject: Re: Moving include/asm-* [was: Re: Moving sound/* to drivers/ ?] Message-ID: <20080522013608.GW28946@ZenIV.linux.org.uk> References: <18484.44691.477859.334222@cargo.ozlabs.ibm.com> <20080522005657.GU28946@ZenIV.linux.org.uk> <1211419419.6908.12.camel@brick> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 21, 2008 at 06:29:43PM -0700, Linus Torvalds wrote: > > > On Wed, 21 May 2008, Harvey Harrison wrote: > > > > What about say, sparc64 that has a lot of #include > > Ahh, I didn't realize people did that. > > I assume (but am too lazy to check) that UML probably does something > similar for its arch-specific stuff. arch/um/include/*.h arch/um/include/sysdep-/*.h include/asm-um/*.h plus arch/um/include/sysdep -> sysdep- and include/asm-um/arch -> ../asm- Note that uml has two halves - kernel-side and userland-side. The latter is build with host search path, etc., with addition of arch/um/include. The former is normal kernel code, with addition of arch/um/include again. So some things in that sucker are for kernel-side and some - for userland side...