diff options
author | Kirill Smelkov <kirr@mns.spb.ru> | 2006-06-23 11:04:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 16:42:59 +0200 |
commit | 30343d6c3d4e3fe961369e7be19935683e808c88 (patch) | |
tree | 61efa604ac9f9d27b950dd16790a583e9e3b1fb4 /include/asm-i386/alternative.h | |
parent | [PATCH] x86: VIA C7 CPU flags (diff) | |
download | linux-30343d6c3d4e3fe961369e7be19935683e808c88.tar.xz 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>
Diffstat (limited to 'include/asm-i386/alternative.h')
-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; |