From: davej@codemonkey.org.uk
To: linux-kernel@vger.kernel.org
Cc: alan@redhat.com
Subject: [PATCH] Clean up capabilities printing.
Date: Sat, 26 Oct 2002 13:42:28 +0100 [thread overview]
Message-ID: <200210261242.g9QCgSp7030268@noodles.internal> (raw)
The machine check initialisation prints some blurb
which makes the capabilities dumping a little untidy.
By initialising it slightly later, we get something that
looks a lot better.
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/arch/i386/kernel/cpu/common.c linux-2.5/arch/i386/kernel/cpu/common.c
--- bk-linus/arch/i386/kernel/cpu/common.c 2002-10-20 20:21:24.000000000 -0100
+++ linux-2.5/arch/i386/kernel/cpu/common.c 2002-10-25 15:39:26.000000000 -0100
@@ -315,9 +315,6 @@ void __init identify_cpu(struct cpuinfo_
clear_bit(X86_FEATURE_XMM, c->x86_capability);
}
- /* Init Machine Check Exception if available. */
- mcheck_init(c);
-
/* If the model name is still unset, do table lookup. */
if ( !c->x86_model_id[0] ) {
char *p;
@@ -355,6 +352,9 @@ void __init identify_cpu(struct cpuinfo_
boot_cpu_data.x86_capability[1],
boot_cpu_data.x86_capability[2],
boot_cpu_data.x86_capability[3]);
+
+ /* Init Machine Check Exception if available. */
+ mcheck_init(c);
}
/*
* Perform early boot up checks for a valid TSC. See arch/i386/kernel/time.c
reply other threads:[~2002-10-26 12:34 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=200210261242.g9QCgSp7030268@noodles.internal \
--to=davej@codemonkey.org.uk \
--cc=alan@redhat.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
all inboxes | Powered by JetHome®