Skip to contentSkip to conversation

mca: mca_pentium_flag no longer used

PATCH New Andrew Hendry 1 participant 1 message May 13, 2007 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mca: mca_pentium_flag no longer used

Thanks James, hopefully have the mailer fixed now.

The check for mca_pentium_flag was removed long ago. This cleans up the flag and documentation.

arch/i386/kernel/setup.c +0 -1
diff -uprN -X dontdiff linux-2.6.21-vanilla/arch/i386/kernel/setup.c linux-2.6.21/arch/i386/kernel/setup.c
@@ -91,7 +91,6 @@ EXPORT_SYMBOL(machine_id);
 #endif
 unsigned int machine_submodel_id;
 unsigned int BIOS_revision;
-unsigned int mca_pentium_flag;
 
 /* Boot loader ID as an integer, for the benefit of proc_dointvec */
 int bootloader_type;
Documentation/kernel-parameters.txt +0 -2
diff -uprN -X dontdiff linux-2.6.21-vanilla/Documentation/kernel-parameters.txt linux-2.6.21/Documentation/kernel-parameters.txt
@@ -894,8 +894,6 @@ and is between 256 and 4096 characters. 
 			[SCSI] Maximum number of LUNs received.
 			Should be between 1 and 16384.
 
-	mca-pentium	[BUGS=IA-32]
-
 	mcatest=	[IA-64]
 
 	mcd=		[HW,CD]
include/asm-i386/bugs.h +0 -8
diff -uprN -X dontdiff linux-2.6.21-vanilla/include/asm-i386/bugs.h linux-2.6.21/include/asm-i386/bugs.h
@@ -31,14 +31,6 @@ static int __init no_halt(char *s)
 
 __setup("no-hlt", no_halt);
 
-static int __init mca_pentium(char *s)
-{
-	mca_pentium_flag = 1;
-	return 1;
-}
-
-__setup("mca-pentium", mca_pentium);
-
 static int __init no_387(char *s)
 {
 	boot_cpu_data.hard_math = 0;
include/asm-i386/processor.h +0 -1
diff -uprN -X dontdiff linux-2.6.21-vanilla/include/asm-i386/processor.h linux-2.6.21/include/asm-i386/processor.h
@@ -264,7 +264,6 @@ others may find it useful. */
 extern unsigned int machine_id;
 extern unsigned int machine_submodel_id;
 extern unsigned int BIOS_revision;
-extern unsigned int mca_pentium_flag;
 
 /* Boot loader type from the setup header */
 extern int bootloader_type;