summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-05-05 17:20:12 +0000
committerimp <imp@FreeBSD.org>2012-05-05 17:20:12 +0000
commit096ede817a595e57dafce2910385344f389c8dbd (patch)
treed451aae1c3b1848933c2f3ca2c2d94051fc7758f /sys
parentba7b3954d6c2fd94b8e666366427df50235e3a38 (diff)
downloadFreeBSD-src-096ede817a595e57dafce2910385344f389c8dbd.zip
FreeBSD-src-096ede817a595e57dafce2910385344f389c8dbd.tar.gz
I need to change uname -p, not uname -m, so back this out.
Also, fix a couple of style(9) issues while I'm here. Submitted by: nathanw, bde
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/arm/identcpu.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arm/arm/identcpu.c b/sys/arm/arm/identcpu.c
index 298497d..f996f1a 100644
--- a/sys/arm/arm/identcpu.c
+++ b/sys/arm/arm/identcpu.c
@@ -57,14 +57,10 @@ __FBSDID("$FreeBSD$");
#include <machine/cpuconf.h>
#include <machine/md_var.h>
-#if _BYTE_ORDER == _LITTLE_ENDIAN
char machine[] = "arm";
-#else
-char machine[] = "armeb";
-#endif
SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD,
- machine, 0, "Machine class");
+ machine, 0, "Machine class");
static const char * const generic_steppings[16] = {
"rev 0", "rev 1", "rev 2", "rev 3",
@@ -140,7 +136,7 @@ static const char * const pxa2x0_steppings[16] = {
};
/* Steppings for PXA255/26x.
- * rev 5: PXA26x B0, rev 6: PXA255 A0
+ * rev 5: PXA26x B0, rev 6: PXA255 A0
*/
static const char * const pxa255_steppings[16] = {
"rev 0", "rev 1", "rev 2", "step A-0",
@@ -460,7 +456,7 @@ identify_arm_cpu(void)
printf(" %dKB/%dB %d-way %s Data cache\n",
arm_pdcache_size / 1024,
arm_pdcache_line_size, arm_pdcache_ways,
- wtnames[arm_pcache_type]);
+ wtnames[arm_pcache_type]);
}
}
OpenPOWER on IntegriCloud