Skip to content

Commit

Permalink
i386: include asm/bugs.h in bugs.c for check_bugs prototype
Browse files Browse the repository at this point in the history
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>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Josh Triplett authored and Linus Torvalds committed Jul 31, 2007
1 parent d133a96 commit 91eb1b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/i386/kernel/cpu/bugs.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
#include <linux/init.h>
#include <linux/utsname.h>
#include <asm/bugs.h>
#include <asm/processor.h>
#include <asm/i387.h>
#include <asm/msr.h>
Expand Down

0 comments on commit 91eb1b7

Please sign in to comment.