diff options
| author | David Woodhouse <dwmw2@infradead.org> | 2006-09-16 15:15:46 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-16 15:54:31 -0400 |
| commit | 124b51c7a8a2b47f1c4739905a28ab3ea5f17faa (patch) | |
| tree | d7963242d67bfe82b327ed32af686e8317f28609 /include/asm-s390/debug.h | |
| parent | b512217736049cef3e681bbd3ff6696c1cca567d (diff) | |
[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>
Diffstat (limited to 'include/asm-s390/debug.h')
| -rw-r--r-- | include/asm-s390/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-s390/debug.h b/include/asm-s390/debug.h index 7f1ef99fd1e1..c00dd2b3dc50 100644 --- a/include/asm-s390/debug.h +++ b/include/asm-s390/debug.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | #define DEBUG_H | 10 | #define DEBUG_H |
| 11 | 11 | ||
| 12 | #include <linux/fs.h> | 12 | #include <linux/fs.h> |
| 13 | #include <linux/string.h> | ||
| 14 | 13 | ||
| 15 | /* Note: | 14 | /* Note: |
| 16 | * struct __debug_entry must be defined outside of #ifdef __KERNEL__ | 15 | * struct __debug_entry must be defined outside of #ifdef __KERNEL__ |
| @@ -35,6 +34,7 @@ struct __debug_entry{ | |||
| 35 | #define __DEBUG_FEATURE_VERSION 2 /* version of debug feature */ | 34 | #define __DEBUG_FEATURE_VERSION 2 /* version of debug feature */ |
| 36 | 35 | ||
| 37 | #ifdef __KERNEL__ | 36 | #ifdef __KERNEL__ |
| 37 | #include <linux/string.h> | ||
| 38 | #include <linux/spinlock.h> | 38 | #include <linux/spinlock.h> |
| 39 | #include <linux/kernel.h> | 39 | #include <linux/kernel.h> |
| 40 | #include <linux/time.h> | 40 | #include <linux/time.h> |
