svn commit: r235072 - head/sys/arm/include
Warner Losh
imp at FreeBSD.org
Sun May 6 07:20:48 UTC 2012
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)
More information about the svn-src-head
mailing list