lkml.org 
[lkml]   [2008]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Moving include/asm-* [was: Re: Moving sound/* to drivers/ ?]
    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 <asm-sparc/foo.h>
    >
    > 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-<target>/*.h
    include/asm-um/*.h

    plus

    arch/um/include/sysdep -> sysdep-<target>
    and
    include/asm-um/arch -> ../asm-<target>

    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...


    \
     
     \ /
      Last update: 2008-05-22 03:39    [W:0.043 / U:0.508 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site