aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86_64/kernel/bugs.c9
-rw-r--r--include/asm-i386/bugs.h2
2 files changed, 2 insertions, 9 deletions
diff --git a/arch/x86_64/kernel/bugs.c b/arch/x86_64/kernel/bugs.c
index 131e541e3f7b..12b585b5345d 100644
--- a/arch/x86_64/kernel/bugs.c
+++ b/arch/x86_64/kernel/bugs.c
@@ -3,19 +3,12 @@
3 * 3 *
4 * Copyright (C) 1994 Linus Torvalds 4 * Copyright (C) 1994 Linus Torvalds
5 * Copyright (C) 2000 SuSE 5 * Copyright (C) 2000 SuSE
6 *
7 * This is included by init/main.c to check for architecture-dependent bugs.
8 *
9 * Needs:
10 * void check_bugs(void);
11 */ 6 */
12 7
13#include <linux/kernel.h> 8#include <linux/kernel.h>
9#include <linux/init.h>
14#include <asm/alternative.h> 10#include <asm/alternative.h>
15#include <asm/processor.h> 11#include <asm/processor.h>
16#include <asm/i387.h>
17#include <asm/msr.h>
18#include <asm/pda.h>
19 12
20void __init check_bugs(void) 13void __init check_bugs(void)
21{ 14{
diff --git a/include/asm-i386/bugs.h b/include/asm-i386/bugs.h
index df539b390448..d28979ff73be 100644
--- a/include/asm-i386/bugs.h
+++ b/include/asm-i386/bugs.h
@@ -7,6 +7,6 @@
7#ifndef _ASM_I386_BUG_H 7#ifndef _ASM_I386_BUG_H
8#define _ASM_I386_BUG_H 8#define _ASM_I386_BUG_H
9 9
10extern void __init check_bugs(void); 10void check_bugs(void);
11 11
12#endif /* _ASM_I386_BUG_H */ 12#endif /* _ASM_I386_BUG_H */