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 Define __HAVE_ATOMIC64_OPS if EABI && A...



details:   https://anonhg.NetBSD.org/src/rev/10559649077e
branches:  trunk
changeset: 793649:10559649077e
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Feb 22 08:02:28 2014 +0000

description:
Define __HAVE_ATOMIC64_OPS if EABI && ARMv6 or later.

diffstat:

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

diffs (19 lines):

diff -r 4bdf103b310b -r 10559649077e sys/arch/arm/include/types.h
--- a/sys/arch/arm/include/types.h      Sat Feb 22 07:53:16 2014 +0000
+++ b/sys/arch/arm/include/types.h      Sat Feb 22 08:02:28 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.25 2013/07/02 05:57:00 matt Exp $  */
+/*     $NetBSD: types.h,v 1.26 2014/02/22 08:02:28 matt Exp $  */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -90,6 +90,9 @@
 #define        __HAVE_COMMON___TLS_GET_ADDR
 #define        __HAVE_TLS_VARIANT_I
 #define        __HAVE_OLD_DISKLABEL
+#if defined(__ARM_EABI__) && defined(_ARM_ARCH_6)
+#define        __HAVE_ATOMIC64_OPS
+#endif
 
 #if defined(_KERNEL) || defined(_KMEMUSER)
 #define        PCU_FPU                 0



Home | Main Index | Thread Index | Old Index