aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2006-06-20 00:32:01 -0700
committerChris Wright <chrisw@sous-sol.org>2006-06-29 17:17:15 -0700
commit5cb91c1a730874dd915eba983996b3e45378e39b (patch)
treedd934c01c5d903c2c730d9a55a89afa03bad84b3
parent323e290abcbdf84afde0fbbd775f3ba4b784655a (diff)
[PATCH] x86: compile fix for asm-i386/alternatives.h
compile fix: <asm-i386/alternative.h> needs <asm/types.h> for 'u8' -- just look at struct alt_instr. My module includes <asm/bitops.h> as the first header, and as of 2.6.17 this leads to compilation errors. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
-rw-r--r--include/asm-i386/alternative.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/alternative.h b/include/asm-i386/alternative.h
index e201decea0c..d79e9ee10fd 100644
--- a/include/asm-i386/alternative.h
+++ b/include/asm-i386/alternative.h
@@ -3,6 +3,8 @@
#ifdef __KERNEL__
+#include <asm/types.h>
+
struct alt_instr {
u8 *instr; /* original instruction */
u8 *replacement;