Skip to contentSkip to conversation

x86: add include to cpu/intel.c

PATCH In review Harvey Harrison 1 participant 1 message Feb 2, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 x86: add include to cpu/intel.c

Fixes sparse warning:

arch/x86/kernel/cpu/intel.c:48:15: warning: symbol 'ppro_with_ram_bug' was not declared. Should it be static?

---
 arch/x86/kernel/cpu/intel.c |    1 +
 include/asm-x86/bugs.h      |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
arch/x86/kernel/cpu/intel.c +1 -0
index d1c372b..fae31ce 100644
@@ -13,6 +13,7 @@
 #include <asm/uaccess.h>
 #include <asm/ptrace.h>
 #include <asm/ds.h>
+#include <asm/bugs.h>
 
 #include "cpu.h"
 
include/asm-x86/bugs.h +1 -1
index 3fcc30d..021cbdd 100644
@@ -2,6 +2,6 @@
 #define _ASM_X86_BUGS_H
 
 extern void check_bugs(void);
-extern int ppro_with_ram_bug(void);
+int ppro_with_ram_bug(void);
 
 #endif /* _ASM_X86_BUGS_H */
Signature · 1 line
1.5.4.rc4.1142.gf5a97