Skip to contentSkip to conversation

Clean up capabilities printing.

PATCH New [email protected] 1 participant 1 message Oct 26, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Clean up capabilities printing.

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.

arch/i386/kernel/cpu/common.c +3 -3
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/arch/i386/kernel/cpu/common.c linux-2.5/arch/i386/kernel/cpu/common.c
@@ -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