• David Woodhouse's avatar
    [PATCH] Fix 'make headers_check' on x86_64 · 75da736f
    David Woodhouse authored
    On Tue, 2006-09-12 at 17:44 +0100, David Woodhouse wrote:
    > asm-x86_64/elf.h requires asm/processor.h, which does not exist
    > asm-x86_64/signal.h requires linux/linkage.h, which does not exist
    > asm-x86_64/unistd.h requires linux/linkage.h, which does not exist
    > asm-x86_64/vsyscall.h requires linux/seqlock.h, which does not exist
    
    Again, move stuff which shouldn't be visible inside (mostly already existing)
    #ifdef __KERNEL__.
    
    This fixes a bunch of mislabelled and unlabelled #endifs in unistd.h and also
    cleans that up to conform with what's visible on other architectures, since
    the minimal fix for the error reported about would have involved a more
    intrusive patch, renesting other ifdefs.
    Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Cc: Andi Kleen <ak@suse.de>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    75da736f
vsyscall.h 1.91 KB