x86_64: include asm/bugs.h in bugs.c for check_bugs prototype
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?
Signed-off-by Josh Triplett <[email protected]>
--- arch/x86_64/kernel/bugs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86_64/kernel/bugs.c +1 -0
@@ -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