Skip to content

Commit

Permalink
x86: add include to cpu/intel.c
Browse files Browse the repository at this point in the history
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 <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Harvey Harrison authored and Ingo Molnar committed Feb 4, 2008
1 parent 599db4f commit 73bdb73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/x86/kernel/cpu/intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <asm/uaccess.h>
#include <asm/ptrace.h>
#include <asm/ds.h>
#include <asm/bugs.h>

#include "cpu.h"

Expand Down
2 changes: 1 addition & 1 deletion include/asm-x86/bugs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 73bdb73

Please sign in to comment.