summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/include/param.h')
-rw-r--r--sys/arm/include/param.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h
index d28a2b3..4a64607 100644
--- a/sys/arm/include/param.h
+++ b/sys/arm/include/param.h
@@ -46,13 +46,14 @@
*/
#include <machine/_align.h>
+#include <machine/acle-compat.h>
#define STACKALIGNBYTES (8 - 1)
#define STACKALIGN(p) ((u_int)(p) & ~STACKALIGNBYTES)
#define __PCI_REROUTE_INTERRUPT
-#if defined(__FreeBSD_ARCH_armv6__) || (defined(__ARM_ARCH) && __ARM_ARCH >= 6)
+#if __ARM_ARCH >= 6
#define _V6_SUFFIX "v6"
#else
#define _V6_SUFFIX ""
@@ -64,7 +65,7 @@
#define _HF_SUFFIX ""
#endif
-#ifdef __ARMEB__
+#ifdef __ARM_BIG_ENDIAN
#define _EB_SUFFIX "eb"
#else
#define _EB_SUFFIX ""
OpenPOWER on IntegriCloud