Commit b40c274a authored by David Woodhouse's avatar David Woodhouse Committed by Linus Torvalds

[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: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ee6baf88
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#define _ASMi386_SIGNAL_H #define _ASMi386_SIGNAL_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/linkage.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/compiler.h> #include <linux/compiler.h>
...@@ -10,6 +9,9 @@ ...@@ -10,6 +9,9 @@
struct siginfo; struct siginfo;
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/linkage.h>
/* Most things should be clean enough to redefine this at will, if care /* Most things should be clean enough to redefine this at will, if care
is taken to make libc match. */ is taken to make libc match. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment