summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-01-20 15:04:55 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-01-20 15:04:55 +0000
commitd074dc4de0bb972419fd377f48abe2dd4f21015a (patch)
tree3d3841dea5b484355d0c5532fadf3731208d1d35 /sys/arch/arm
parent9e6bd8f9af7a936e87d3b2c6ac32e1a753859271 (diff)
ARM is strict alignment (practically) so let the kernel know this. ok miod@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/include/endian.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm/include/endian.h b/sys/arch/arm/include/endian.h
index b9e046a3d37..8c4ab24c701 100644
--- a/sys/arch/arm/include/endian.h
+++ b/sys/arch/arm/include/endian.h
@@ -1,8 +1,9 @@
-/* $OpenBSD: endian.h,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
+/* $OpenBSD: endian.h,v 1.2 2005/01/20 15:04:54 drahn Exp $ */
#ifdef __ARMEB__
#define BYTE_ORDER BIG_ENDIAN
#else
#define BYTE_ORDER LITTLE_ENDIAN
#endif
+#define __STRICT_ALIGNMENT
#include <sys/endian.h>