Skip to contentSkip to conversation

x86_64: include asm/bugs.h in bugs.c for check_bugs prototype

PATCH New Josh Triplett 1 participant 1 message Jul 20, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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?

---
 arch/x86_64/kernel/bugs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86_64/kernel/bugs.c +1 -0
index c3c6b91..4e5e9d3 100644
@@ -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>
 
Signature · 1 line
1.5.2.1