Messages in this thread Patch in this message | | | Subject | [PATCH] [3/6] Move inclusion of <linux/linkage.h> in <asm-i386/signal.h> | From | David Woodhouse <> | Date | Sat, 09 Sep 2006 12:27:22 +0100 |
| |
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>
diff --git a/include/asm-i386/signal.h b/include/asm-i386/signal.h index 3824a50..c3e8ade 100644 --- a/include/asm-i386/signal.h +++ b/include/asm-i386/signal.h @@ -2,7 +2,6 @@ #ifndef _ASMi386_SIGNAL_H #define _ASMi386_SIGNAL_H #include <linux/types.h> -#include <linux/linkage.h> #include <linux/time.h> #include <linux/compiler.h> @@ -10,6 +9,9 @@ #include <linux/compiler.h> 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. */
-- dwmw2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |