summaryrefslogtreecommitdiff
path: root/src/atomic_ops.h
diff options
context:
space:
mode:
authorLinas Vepstas <linasvepstas@gmail.com>2011-10-11 08:43:41 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-10-11 08:43:41 +0400
commit9136ee61b4623843629d50c4a0bf5d8d892a5eb9 (patch)
tree331492b6e7bf5af6c0ea4be1799781a9fe1406d0 /src/atomic_ops.h
parent75c42d90ecf23027a4a87497ea0916cbae15f0d7 (diff)
downloadlibatomic_ops-9136ee61b4623843629d50c4a0bf5d8d892a5eb9.tar.gz
Implement the basic atomic primitives for the hexagon CPU.
* src/Makefile.am (nobase_private_HEADERS): Add hexagon.h. * src/atomic_ops.h: Include hexagon.h file. * src/atomic_ops/sysdeps/gcc/hexagon.h: New file.
Diffstat (limited to 'src/atomic_ops.h')
-rw-r--r--src/atomic_ops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/atomic_ops.h b/src/atomic_ops.h
index b51cc66..36376b9 100644
--- a/src/atomic_ops.h
+++ b/src/atomic_ops.h
@@ -269,6 +269,9 @@
# if defined(__avr32__)
# include "atomic_ops/sysdeps/gcc/avr32.h"
# endif
+# if defined(__hexagon__)
+# include "atomic_ops/sysdeps/gcc/hexagon.h"
+# endif
#endif /* __GNUC__ && !AO_USE_PTHREAD_DEFS */
#if (defined(__IBMC__) || defined(__IBMCPP__)) && !defined(__GNUC__) \