Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2012 07:20:48 +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: r235072 - head/sys/arm/include
Message-ID:  <201205060720.q467KmWT001864@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun May  6 07:20:48 2012
New Revision: 235072
URL: http://svn.freebsd.org/changeset/base/235072

Log:
  Fix the MACHINE_ARCH for big endian arm to be armeb.

Modified:
  head/sys/arm/include/param.h

Modified: head/sys/arm/include/param.h
==============================================================================
--- head/sys/arm/include/param.h	Sun May  6 06:25:17 2012	(r235071)
+++ head/sys/arm/include/param.h	Sun May  6 07:20:48 2012	(r235072)
@@ -56,8 +56,12 @@
 #define	MACHINE		"arm"
 #endif
 #ifndef MACHINE_ARCH
+#ifdef __ARMEB__
+#define	MACHINE_ARCH	"armeb"
+#else
 #define	MACHINE_ARCH	"arm"
 #endif
+#endif
 #define	MID_MACHINE	MID_ARM6 
 
 #if defined(SMP) || defined(KLD_MODULE)



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