x86_64: include asm/bugs.h in bugs.c for check_bugs prototype
authorJosh Triplett <josh@kernel.org>
Tue, 31 Jul 2007 07:39:21 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:42 +0000 (15:39 -0700)
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>
arch/x86_64/kernel/bugs.c

index c3c6b91566ed822dd9d6ba20b3d1ceca55a86ea5..4e5e9d364d63d09243f21295b4ce9cd0abc2ebf5 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <asm/alternative.h>
+#include <asm/bugs.h>
 #include <asm/processor.h>
 #include <asm/mtrr.h>