x86: add include to cpu/intel.c
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?
Signed-off-by Harvey Harrison <[email protected]>
--- 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
@@ -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
@@ -2,6 +2,6 @@#define _ASM_X86_BUGS_Hextern 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