svn commit: r235062 - head/sys/arm/arm
Warner Losh
imp at FreeBSD.org
Sat May 5 17:20:12 UTC 2012
Author: imp
Date: Sat May 5 17:20:12 2012
New Revision: 235062
URL: http://svn.freebsd.org/changeset/base/235062
Log:
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
Modified:
head/sys/arm/arm/identcpu.c
Modified: head/sys/arm/arm/identcpu.c
==============================================================================
--- head/sys/arm/arm/identcpu.c Sat May 5 16:50:12 2012 (r235061)
+++ head/sys/arm/arm/identcpu.c Sat May 5 17:20:12 2012 (r235062)
@@ -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_steppin
};
/* 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]);
}
}
More information about the svn-src-head
mailing list