From 5cb91c1a730874dd915eba983996b3e45378e39b Mon Sep 17 00:00:00 2001 From: Kirill Smelkov Date: Tue, 20 Jun 2006 00:32:01 -0700 Subject: [PATCH] [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: Chris Wright --- include/asm-i386/alternative.h | 2 ++ 1 file changed, 2 insertions(+) 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 + struct alt_instr { u8 *instr; /* original instruction */ u8 *replacement; -- 2.39.5