]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] headers_check: move inclusion of <linux/linkage.h> in <asm-i386/signal.h>
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 13 Sep 2006 03:36:04 +0000 (20:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 13 Sep 2006 14:32:15 +0000 (07:32 -0700)
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>
include/asm-i386/signal.h

index 3824a502351f545ca997e14a5ff6cfe226e594f4..c3e8adec5918695f0a11fe531c53a231bf876823 100644 (file)
@@ -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.  */