aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/cpu/bugs.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@kernel.org>2007-07-31 03:39:20 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-31 18:39:42 -0400
commit91eb1b79ecf42bad91ff084ba3d020ec833b3477 (patch)
tree080cde71d5dc3a51675f9a6c151ca8c2be8347c3 /arch/i386/kernel/cpu/bugs.c
parentd133a9609ee6111c9718a4bbe559b84a399603e6 (diff)
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 <josh@kernel.org> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/kernel/cpu/bugs.c')
-rw-r--r--arch/i386/kernel/cpu/bugs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/kernel/cpu/bugs.c b/arch/i386/kernel/cpu/bugs.c
index 54428a2500f..59266f03d1c 100644
--- a/arch/i386/kernel/cpu/bugs.c
+++ b/arch/i386/kernel/cpu/bugs.c
@@ -11,6 +11,7 @@
11 */ 11 */
12#include <linux/init.h> 12#include <linux/init.h>
13#include <linux/utsname.h> 13#include <linux/utsname.h>
14#include <asm/bugs.h>
14#include <asm/processor.h> 15#include <asm/processor.h>
15#include <asm/i387.h> 16#include <asm/i387.h>
16#include <asm/msr.h> 17#include <asm/msr.h>