]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] x86: compile fix for asm-i386/alternatives.h
authorKirill Smelkov <kirr@mns.spb.ru>
Tue, 20 Jun 2006 07:32:01 +0000 (00:32 -0700)
committerChris Wright <chrisw@sous-sol.org>
Fri, 30 Jun 2006 00:17:15 +0000 (17:17 -0700)
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: Chris Wright <chrisw@sous-sol.org>
include/asm-i386/alternative.h

index e201decea0c9b70bf461714af4cc07bf4b27edcc..d79e9ee10fd7039f3669aa43b4aa55f7af538438 100644 (file)
@@ -3,6 +3,8 @@
 
 #ifdef __KERNEL__
 
+#include <asm/types.h>
+
 struct alt_instr {
        u8 *instr;              /* original instruction */
        u8 *replacement;