]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] Fix 'make headers_check' on x86_64
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 16 Sep 2006 19:15:48 +0000 (12:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 16 Sep 2006 19:54:32 +0000 (12:54 -0700)
commit75da736fb3dc5cc8add98da0d02fe5103d7ce059
treecc257924ebeef75b650b79ea6a33429a6eac84b8
parente5fa6d70318e4a6a644edbb7d574059e5b326de1
[PATCH] Fix 'make headers_check' on x86_64

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: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/elf.h
include/asm-x86_64/signal.h
include/asm-x86_64/unistd.h
include/asm-x86_64/vsyscall.h