* [PATCH] x86_64: include asm/bugs.h in bugs.c for check_bugs prototype
@ 2007-07-20 18:40 Josh Triplett
0 siblings, 0 replies; only message in thread
From: Josh Triplett @ 2007-07-20 18:40 UTC (permalink / raw)
To: linux-kernel, akpm
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>
---
arch/x86_64/kernel/bugs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86_64/kernel/bugs.c b/arch/x86_64/kernel/bugs.c
index c3c6b91..4e5e9d3 100644
--- a/arch/x86_64/kernel/bugs.c
+++ b/arch/x86_64/kernel/bugs.c
@@ -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>
--
1.5.2.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-20 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-20 18:40 [PATCH] x86_64: include asm/bugs.h in bugs.c for check_bugs prototype Josh Triplett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®