Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171069315
D20139.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20139.id.diff
View Options
Index: head/sys/compat/linprocfs/linprocfs.c
===================================================================
--- head/sys/compat/linprocfs/linprocfs.c
+++ head/sys/compat/linprocfs/linprocfs.c
@@ -215,11 +215,11 @@
static char *flags[] = {
"fpu", "vme", "de", "pse", "tsc",
"msr", "pae", "mce", "cx8", "apic",
- "sep", "sep", "mtrr", "pge", "mca",
- "cmov", "pat", "pse36", "pn", "b19",
- "b20", "b21", "mmxext", "mmx", "fxsr",
- "xmm", "sse2", "b27", "b28", "b29",
- "3dnowext", "3dnow"
+ "", "sep", "mtrr", "pge", "mca",
+ "cmov", "pat", "pse36", "pn", "clflush",
+ "", "dts", "acpi", "mmx", "fxsr",
+ "sse", "sse2", "ss", "ht", "tm",
+ "ia64", "pbe"
};
static char *power_flags[] = {
@@ -287,7 +287,7 @@
CPUID_TO_FAMILY(cpu_id), "yes");
sbuf_cat(sb, "flags\t\t:");
for (j = 0; j < nitems(flags); j++)
- if (cpu_feature & (1 << j))
+ if (cpu_feature & (1 << j) && flags[j][0] != '\0')
sbuf_printf(sb, " %s", flags[j]);
sbuf_cat(sb, "\n");
sbuf_printf(sb,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 9, 12:45 PM (1 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38583741
Default Alt Text
D20139.id.diff (1 KB)
Attached To
Mode
D20139: Fix flags in cpuinfo.
Attached
Detach File
Event Timeline
Log In to Comment