Commit 5cb91c1a authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Chris Wright

[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: default avatarKirill Smelkov <kirr@mns.spb.ru>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
parent 323e290a
......@@ -3,6 +3,8 @@
#ifdef __KERNEL__
#include <asm/types.h>
struct alt_instr {
u8 *instr; /* original instruction */
u8 *replacement;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment