[PATCH] Fix 'make headers_check' on s390
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 16 Sep 2006 19:15:46 +0000 (12:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 16 Sep 2006 19:54:31 +0000 (12:54 -0700)
commit124b51c7a8a2b47f1c4739905a28ab3ea5f17faa
treed7963242d67bfe82b327ed32af686e8317f28609
parentb512217736049cef3e681bbd3ff6696c1cca567d
[PATCH] Fix 'make headers_check' on s390

On Tue, 2006-09-12 at 17:44 +0100, David Woodhouse wrote:
> asm-s390/debug.h requires linux/string.h, which does not exist
> asm-s390/elf.h requires asm/system.h, which does not exist

Move things around slightly so the right things end up within
#ifdef __KERNEL__ and thus don't pollute the exported headers.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-s390/debug.h
include/asm-s390/elf.h