summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2005-01-20 15:04:54 +0000
committerdrahn <drahn@openbsd.org>2005-01-20 15:04:54 +0000
commitb610f1e003ac92c88a83dbe1d1a2be067e272976 (patch)
tree6d560739988af458bf323ac9843e10c7b724f5c1
parentexpire ipforward_rt cache in ip_slowtimeo; fixes pr 1697; ok claudio (diff)
downloadwireguard-openbsd-b610f1e003ac92c88a83dbe1d1a2be067e272976.tar.xz
wireguard-openbsd-b610f1e003ac92c88a83dbe1d1a2be067e272976.zip
ARM is strict alignment (practically) so let the kernel know this. ok miod@
-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>