diff options
author | Kirill Smelkov <kirr@mns.spb.ru> | 2006-06-23 02:04:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:42:59 -0700 |
commit | 30343d6c3d4e3fe961369e7be19935683e808c88 (patch) | |
tree | 61efa604ac9f9d27b950dd16790a583e9e3b1fb4 | |
parent | 224f611c1639cb6c134a934dae7f7b9f0ac3b540 (diff) | |
download | linux-30343d6c3d4e3fe961369e7be19935683e808c88.tar.gz linux-30343d6c3d4e3fe961369e7be19935683e808c88.tar.bz2 linux-30343d6c3d4e3fe961369e7be19935683e808c88.zip |
[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: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | include/asm-i386/alternative.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/alternative.h b/include/asm-i386/alternative.h index e201decea0c9..d79e9ee10fd7 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; |