diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-09-13 05:36:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-13 16:32:15 +0200 |
commit | b40c274a03f70d1f758753c56452bed506e47a09 (patch) | |
tree | 0a2084d2bc69580703ddde93e77d160c69d92ba1 /include/asm-i386/signal.h | |
parent | [PATCH] headers_check: remove <asm/timex.h> from user export (diff) | |
download | linux-b40c274a03f70d1f758753c56452bed506e47a09.tar.xz linux-b40c274a03f70d1f758753c56452bed506e47a09.zip |
[PATCH] headers_check: move inclusion of <linux/linkage.h> in <asm-i386/signal.h>
Because <linux/linkage.h> doesn't exist in userspace, it should be only
included from within #ifdef __KERNEL__. Move the corresponding #include
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r-- | include/asm-i386/signal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-i386/signal.h b/include/asm-i386/signal.h index 3824a502351f..c3e8adec5918 100644 --- a/include/asm-i386/signal.h +++ b/include/asm-i386/signal.h @@ -2,7 +2,6 @@ #define _ASMi386_SIGNAL_H #include <linux/types.h> -#include <linux/linkage.h> #include <linux/time.h> #include <linux/compiler.h> @@ -10,6 +9,9 @@ struct siginfo; #ifdef __KERNEL__ + +#include <linux/linkage.h> + /* Most things should be clean enough to redefine this at will, if care is taken to make libc match. */ |