Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2012 17:20:12 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235062 - head/sys/arm/arm
Message-ID:  <201205051720.q45HKCcw067560@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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]);
 	}
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205051720.q45HKCcw067560>