From: Kirill Smelkov Date: Fri, 23 Jun 2006 09:04:33 +0000 (-0700) Subject: [PATCH] x86: compile fix for asm-i386/alternatives.h X-Git-Tag: v2.6.18-rc1~1081^2~108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30343d6c3d4e3fe961369e7be19935683e808c88;p=platform%2Fkernel%2Flinux-3.10.git [PATCH] x86: compile fix for asm-i386/alternatives.h compile fix: needs for 'u8' -- just look at struct alt_instr. My module includes as the first header, and as of 2.6.17 this leads to compilation errors. Signed-off-by: Kirill Smelkov Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-i386/alternative.h b/include/asm-i386/alternative.h index e201dec..d79e9ee 100644 --- a/include/asm-i386/alternative.h +++ b/include/asm-i386/alternative.h @@ -3,6 +3,8 @@ #ifdef __KERNEL__ +#include + struct alt_instr { u8 *instr; /* original instruction */ u8 *replacement;