Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Use defined(_ARM_ARCH_[67])



details:   https://anonhg.NetBSD.org/src/rev/46a68363fe22
branches:  trunk
changeset: 780345:46a68363fe22
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jul 20 18:53:34 2012 +0000

description:
Use defined(_ARM_ARCH_[67])

diffstat:

 sys/arch/arm/include/byte_swap.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 591166bb60ed -r 46a68363fe22 sys/arch/arm/include/byte_swap.h
--- a/sys/arch/arm/include/byte_swap.h  Fri Jul 20 18:19:45 2012 +0000
+++ b/sys/arch/arm/include/byte_swap.h  Fri Jul 20 18:53:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: byte_swap.h,v 1.10 2012/07/15 19:59:48 matt Exp $      */
+/*     $NetBSD: byte_swap.h,v 1.11 2012/07/20 18:53:34 matt Exp $      */
 
 /*-
  * Copyright (c) 1997, 1999, 2002 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 
 #ifdef _LOCORE
 
-#if (ARM_ARCH_6 + ARM_ARCH_7) > 0
+#if defined(_ARM_ARCH_6) || defined(_ARM_ARCH_7)
 
 #define        BSWAP16(_src, _dst, _tmp)               \
        rev16   _dst, _src



Home | Main Index | Thread Index | Old Index