* [PATCH] Clean up capabilities printing.
@ 2002-10-26 12:42 davej
0 siblings, 0 replies; only message in thread
From: davej @ 2002-10-26 12:42 UTC (permalink / raw)
To: linux-kernel; +Cc: alan
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-26 12:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-26 12:42 [PATCH] Clean up capabilities printing davej
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®