Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/arch/arm/atomic Fix #if/#endif nesting



details:   https://anonhg.NetBSD.org/src/rev/83060fb089fe
branches:  trunk
changeset: 327301:83060fb089fe
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Mar 04 07:01:26 2014 +0000

description:
Fix #if/#endif nesting

diffstat:

 common/lib/libc/arch/arm/atomic/atomic_cas_64.S |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r b4d31f2857be -r 83060fb089fe common/lib/libc/arch/arm/atomic/atomic_cas_64.S
--- a/common/lib/libc/arch/arm/atomic/atomic_cas_64.S   Tue Mar 04 06:38:08 2014 +0000
+++ b/common/lib/libc/arch/arm/atomic/atomic_cas_64.S   Tue Mar 04 07:01:26 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_cas_64.S,v 1.7 2014/03/04 03:50:37 matt Exp $   */
+/*     $NetBSD: atomic_cas_64.S,v 1.8 2014/03/04 07:01:26 matt Exp $   */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -40,7 +40,8 @@
        mov     ip, r0                  /* we need r0 for return value */
 #ifdef __ARM_EABI__
        ldrd    r4, r5, [sp, #16]       /* fetch new value */
-#elif __ARMEB__
+#else
+#if __ARMEB__
        ldr     r5, [sp, #16]           /* fetch new value */
        ldr     r4, [sp, #20]           /* fetch new value */
 #else



Home | Main Index | Thread Index | Old Index