summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-09-04 01:56:15 +0000
committerjhb <jhb@FreeBSD.org>2014-09-04 01:56:15 +0000
commitc102e50e93d1e8268264a97a7a4b54c55d134ca7 (patch)
tree6c4dc72f0ae997d6920156b6d9acd11672753c64
parent1e7d9a13243132952f65939f2232142b369360d8 (diff)
downloadFreeBSD-src-c102e50e93d1e8268264a97a7a4b54c55d134ca7.zip
FreeBSD-src-c102e50e93d1e8268264a97a7a4b54c55d134ca7.tar.gz
Remove trailing whitespace.
-rw-r--r--sys/amd64/amd64/identcpu.c16
-rw-r--r--sys/i386/i386/identcpu.c8
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index e3bd3fa..c3eb5eb 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -97,11 +97,11 @@ SYSCTL_PROC(_hw, HW_MACHINE, machine, CTLTYPE_STRING | CTLFLAG_RD,
NULL, 0, sysctl_hw_machine, "A", "Machine class");
static char cpu_model[128];
-SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD,
+SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD,
cpu_model, 0, "Machine model");
static int hw_clockrate;
-SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD,
+SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD,
&hw_clockrate, 0, "CPU instruction clock rate");
static eventhandler_tag tsc_post_tag;
@@ -686,15 +686,15 @@ print_AMD_info(void)
printf("L2 unified cache: %d kbytes", regs[2] >> 16);
printf(", %d bytes/line", regs[2] & 0xff);
printf(", %d lines/tag", (regs[2] >> 8) & 0x0f);
- print_AMD_l2_assoc((regs[2] >> 12) & 0x0f);
+ print_AMD_l2_assoc((regs[2] >> 12) & 0x0f);
}
/*
- * Opteron Rev E shows a bug as in very rare occasions a read memory
- * barrier is not performed as expected if it is followed by a
- * non-atomic read-modify-write instruction.
+ * Opteron Rev E shows a bug as in very rare occasions a read memory
+ * barrier is not performed as expected if it is followed by a
+ * non-atomic read-modify-write instruction.
* As long as that bug pops up very rarely (intensive machine usage
- * on other operating systems generally generates one unexplainable
+ * on other operating systems generally generates one unexplainable
* crash any 2 months) and as long as a model specific fix would be
* impratical at this stage, print out a warning string if the broken
* model and family are identified.
@@ -910,7 +910,7 @@ print_vmx_info(void)
"\012single" /* INVVPID single-context type */
"\013all" /* INVVPID all-context type */
/* INVVPID single-context-retaining-globals type */
- "\014single-globals"
+ "\014single-globals"
);
}
}
diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c
index aebe6b0..cb34bb0 100644
--- a/sys/i386/i386/identcpu.c
+++ b/sys/i386/i386/identcpu.c
@@ -75,15 +75,15 @@ static void print_via_padlock_info(void);
int cpu_class;
char machine[] = MACHINE;
-SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD,
+SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD,
machine, 0, "Machine class");
static char cpu_model[128];
-SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD,
+SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD,
cpu_model, 0, "Machine model");
static int hw_clockrate;
-SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD,
+SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD,
&hw_clockrate, 0, "CPU instruction clock rate");
static eventhandler_tag tsc_post_tag;
@@ -1270,7 +1270,7 @@ print_AMD_info(void)
printf("L2 internal cache: %d kbytes", regs[2] >> 16);
printf(", %d bytes/line", regs[2] & 0xff);
printf(", %d lines/tag", (regs[2] >> 8) & 0x0f);
- print_AMD_assoc((regs[2] >> 12) & 0x0f);
+ print_AMD_assoc((regs[2] >> 12) & 0x0f);
}
}
if (((cpu_id & 0xf00) == 0x500)
OpenPOWER on IntegriCloud