aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorJosh Triplett <josh@kernel.org>2007-07-31 03:39:21 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-31 18:39:42 -0400
commitdd22a68228cf1c8dad39d6f9da925bd534aea91d (patch)
treecf797bbc0b69f638d8cbc401810ab9d65a6a47b1 /arch/x86_64
parent91eb1b79ecf42bad91ff084ba3d020ec833b3477 (diff)
x86_64: 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/x86_64')
-rw-r--r--arch/x86_64/kernel/bugs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/bugs.c b/arch/x86_64/kernel/bugs.c
index c3c6b91566e..4e5e9d364d6 100644
--- a/arch/x86_64/kernel/bugs.c
+++ b/arch/x86_64/kernel/bugs.c
@@ -8,6 +8,7 @@
8#include <linux/kernel.h> 8#include <linux/kernel.h>
9#include <linux/init.h> 9#include <linux/init.h>
10#include <asm/alternative.h> 10#include <asm/alternative.h>
11#include <asm/bugs.h>
11#include <asm/processor.h> 12#include <asm/processor.h>
12#include <asm/mtrr.h> 13#include <asm/mtrr.h>
13 14