patch-2.2.0-pre4 linux/arch/i386/kernel/setup.c

Next file: linux/arch/i386/kernel/smp.c
Previous file: linux/arch/i386/boot/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre3/linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
@@ -675,7 +675,7 @@
 			p += sprintf(p, "stepping\t: unknown\n");
 
 		if (c->x86_capability & X86_FEATURE_TSC) {
-			p += sprintf(p, "cpu MHz\t\t: %lu.%02lu\n",
+			p += sprintf(p, "cpu MHz\t\t: %lu.%06lu\n",
 				cpu_hz / 1000000, (cpu_hz % 1000000));
 		}
 
@@ -689,6 +689,8 @@
 		} else if (c->x86_vendor == X86_VENDOR_AMD) {
 			x86_cap_flags[16] = "fcmov";
 			x86_cap_flags[31] = "3dnow";
+			if (c->x86 == 5 && c->x86_model == 6)
+				x86_cap_flags[10] = "sep";
 		} else if (c->x86_vendor == X86_VENDOR_INTEL) {
 			x86_cap_flags[6] = "pae";
 			x86_cap_flags[9] = "apic";

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov