From: Josh Triplett Date: Tue, 31 Jul 2007 07:39:20 +0000 (-0700) Subject: i386: include asm/bugs.h in bugs.c for check_bugs prototype X-Git-Tag: v2.6.23-rc2~51 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91eb1b79ecf42bad91ff084ba3d020ec833b3477;p=linux-2.6 i386: include asm/bugs.h in bugs.c for check_bugs prototype C files should include the header files that prototype their functions. Eliminates a sparse warning: warning: symbol 'check_bugs' was not declared. Should it be static? Signed-off-by: Josh Triplett Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/cpu/bugs.c b/arch/i386/kernel/cpu/bugs.c index 54428a2500..59266f03d1 100644 --- a/arch/i386/kernel/cpu/bugs.c +++ b/arch/i386/kernel/cpu/bugs.c @@ -11,6 +11,7 @@ */ #include #include +#include #include #include #include