aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2007-05-02 19:27:16 +0200
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 19:27:16 +0200
commit57decbda6a2a7c400b2a3b3b12e52ccbdc977118 (patch)
treef4702143a15df7e455392ccb7eb466e9c5aa241e
parent[PATCH] i386: map enough initial memory to create lowmem mappings (diff)
downloadlinux-dev-57decbda6a2a7c400b2a3b3b12e52ccbdc977118.tar.xz
linux-dev-57decbda6a2a7c400b2a3b3b12e52ccbdc977118.zip
[PATCH] x86: update for i386 and x86-64 check_bugs
Remove spurious comments, headers and keywords from x86-64 bugs.[ch]. Use identify_boot_cpu() AK: merged with other patch Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to '')
-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 @@
*
* Copyright (C) 1994 Linus Torvalds
* Copyright (C) 2000 SuSE
- *
- * This is included by init/main.c to check for architecture-dependent bugs.
- *
- * Needs:
- * void check_bugs(void);
*/
#include <linux/kernel.h>
+#include <linux/init.h>
#include <asm/alternative.h>
#include <asm/processor.h>
-#include <asm/i387.h>
-#include <asm/msr.h>
-#include <asm/pda.h>
void __init check_bugs(void)
{
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 @@
#ifndef _ASM_I386_BUG_H
#define _ASM_I386_BUG_H
-extern void __init check_bugs(void);
+void check_bugs(void);
#endif /* _ASM_I386_BUG_H */