aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-14 16:23:37 -0500
committerIngo Molnar <mingo@elte.hu>2008-02-19 10:18:28 -0500
commit08cd93f9e11ac8c3e42c72debe7dc55a761149c2 (patch)
treeee2a1ccead2efedcad2b715b6842f6989665ea7d
parent9a4c8546f3e7c893888bccc2b3416d6214f2664a (diff)
remove mca-pentium
This patch removes the mca-pentium boot option that was a noop. besides the source code cleanup factor, this saves some text as well: arch/x86/kernel/cpu/bugs.o: text data bss dec hex filename 651 77 4 732 2dc bugs.o.before 631 53 4 688 2b0 bugs.o.after Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--Documentation/kernel-parameters.txt2
-rw-r--r--arch/x86/kernel/cpu/bugs.c8
-rw-r--r--arch/x86/kernel/setup_32.c1
-rw-r--r--include/asm-x86/processor.h1
4 files changed, 0 insertions, 12 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index a4fc7fc21439..7278295f94d2 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1056,8 +1056,6 @@ and is between 256 and 4096 characters. It is defined in the file
1056 [SCSI] Maximum number of LUNs received. 1056 [SCSI] Maximum number of LUNs received.
1057 Should be between 1 and 16384. 1057 Should be between 1 and 16384.
1058 1058
1059 mca-pentium [BUGS=X86-32]
1060
1061 mcatest= [IA-64] 1059 mcatest= [IA-64]
1062 1060
1063 mce [X86-32] Machine Check Exception 1061 mce [X86-32] Machine Check Exception
diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
index 9b95edcfc6ae..027e5c003b16 100644
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -25,14 +25,6 @@ static int __init no_halt(char *s)
25 25
26__setup("no-hlt", no_halt); 26__setup("no-hlt", no_halt);
27 27
28static int __init mca_pentium(char *s)
29{
30 mca_pentium_flag = 1;
31 return 1;
32}
33
34__setup("mca-pentium", mca_pentium);
35
36static int __init no_387(char *s) 28static int __init no_387(char *s)
37{ 29{
38 boot_cpu_data.hard_math = 0; 30 boot_cpu_data.hard_math = 0;
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 691ab4cb167b..a1d7071a51c9 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -164,7 +164,6 @@ unsigned long mmu_cr4_features = X86_CR4_PAE;
164unsigned int machine_id; 164unsigned int machine_id;
165unsigned int machine_submodel_id; 165unsigned int machine_submodel_id;
166unsigned int BIOS_revision; 166unsigned int BIOS_revision;
167unsigned int mca_pentium_flag;
168 167
169/* Boot loader ID as an integer, for the benefit of proc_dointvec */ 168/* Boot loader ID as an integer, for the benefit of proc_dointvec */
170int bootloader_type; 169int bootloader_type;
diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h
index 149920dcd341..7b1ca1f90283 100644
--- a/include/asm-x86/processor.h
+++ b/include/asm-x86/processor.h
@@ -671,7 +671,6 @@ extern void init_gdt(int cpu);
671extern unsigned int machine_id; 671extern unsigned int machine_id;
672extern unsigned int machine_submodel_id; 672extern unsigned int machine_submodel_id;
673extern unsigned int BIOS_revision; 673extern unsigned int BIOS_revision;
674extern unsigned int mca_pentium_flag;
675 674
676/* Boot loader type from the setup header */ 675/* Boot loader type from the setup header */
677extern int bootloader_type; 676extern int bootloader_type;