From: Andrew Hendry <andrew.hendry@gmail.com>
To: "H. Peter Anvin" <hpa@zytor.com>,
jejb@steeleye.com, <linux-kernel@vger.kernel.org>
Subject: [PATCH 1/2] MCA: removed unused mca_pentium_flag
Date: Sun, 15 Jul 2007 16:43:33 +1000 [thread overview]
Message-ID: <20070715164333.74198c7a@jed> (raw)
The check for mca_pentium_flag was removed long ago.
This cleans up the flag and documentation.
Signed-off-by: Andrew Hendry <andrew.hendry@gmail.com>
diff -uprN -X dontdiff a/arch/i386/kernel/cpu/bugs.c
b/arch/i386/kernel/cpu/bugs.c --- a/arch/i386/kernel/cpu/bugs.c
2007-07-15 12:04:50.000000000 +1000 +++
b/arch/i386/kernel/cpu/bugs.c 2007-07-15 12:01:46.000000000
+1000 @@ -25,14 +25,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;
diff -uprN -X dontdiff a/arch/i386/kernel/setup.c
b/arch/i386/kernel/setup.c --- a/arch/i386/kernel/setup.c
2007-07-15 12:09:31.000000000 +1000 +++
b/arch/i386/kernel/setup.c 2007-07-15 11:57:17.000000000 +1000
@@ -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;
diff -uprN -X dontdiff a/Documentation/kernel-parameters.txt
b/Documentation/kernel-parameters.txt ---
a/Documentation/kernel-parameters.txt 2007-07-15
12:04:49.000000000 +1000 +++
b/Documentation/kernel-parameters.txt 2007-07-15
11:58:04.000000000 +1000 @@ -963,8 +963,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]
diff -uprN -X dontdiff a/Documentation/mca.txt b/Documentation/mca.txt
--- a/Documentation/mca.txt 2007-07-15 12:04:49.000000000 +1000
+++ b/Documentation/mca.txt 2007-07-15 11:59:12.000000000 +1000
@@ -213,13 +213,6 @@ detect the guilty device, but it's prett
persistent problem (on some model 70 or 80s, they occur every couple
shell commands), the CONFIG_IGNORE_NMI flag will take care of that.
-Various Pentium machines have had serious problems with the FPU test in
-bugs.h. Basically, the machine hangs after the HLT test. This occurs,
-as far as we know, on the Pentium-equipped 85s, 95s, and some PC
Servers. -The PCI/MCA PC 750s are fine as far as I can tell. The
``mca-pentium'' -boot-prompt flag will disable the FPU bug check if
this is a problem -with your machine.
-
The model 80 has a raft of problems that are just too weird and unique
to get into here. Some people have no trouble while others have
nothing but problems. I'd suspect some problems are related to the age
of the diff -uprN -X dontdiff a/include/asm-i386/processor.h
b/include/asm-i386/processor.h ---
a/include/asm-i386/processor.h 2007-07-15 12:09:23.000000000
+1000 +++ b/include/asm-i386/processor.h 2007-07-15
12:00:45.000000000 +1000 @@ -211,7 +211,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;
reply other threads:[~2007-07-15 6:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070715164333.74198c7a@jed \
--to=andrew.hendry@gmail.com \
--cc=hpa@zytor.com \
--cc=jejb@steeleye.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox