summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-01-06 00:46:50 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-01-06 00:46:50 +0000
commita457235ffdcae86f1827c6d1e1e60db6dee82b74 (patch)
treee86dbd5af998a3dec152f99815e2cefe026360c8 /sys/arch/arm
parent1c2d8973ae5d0a3400ac6bb6975c5c07cea48958 (diff)
there is no longer a need to ifdef __armv7__ armv6 rev instructions
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/include/endian.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/arm/include/endian.h b/sys/arch/arm/include/endian.h
index e142ad5c3ee..30e79cfc39b 100644
--- a/sys/arch/arm/include/endian.h
+++ b/sys/arch/arm/include/endian.h
@@ -1,10 +1,9 @@
-/* $OpenBSD: endian.h,v 1.8 2015/01/11 11:18:36 dlg Exp $ */
+/* $OpenBSD: endian.h,v 1.9 2017/01/06 00:46:49 jsg Exp $ */
#ifndef _ARM_ENDIAN_H_
#define _ARM_ENDIAN_H_
#ifdef _KERNEL
-#ifdef __armv7__
#ifdef __GNUC__
static inline __uint16_t
@@ -45,7 +44,6 @@ ___swap64md(__uint64_t x)
#define __HAVE_MD_SWAP
#endif /* __GNUC__ */
-#endif /* __armv7__ */
#endif /* _KERNEL */
#define _BYTE_ORDER _LITTLE_ENDIAN