diff options
author | Linas Vepstas <linasvepstas@gmail.com> | 2011-10-11 08:43:41 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-10-11 08:43:41 +0400 |
commit | 9136ee61b4623843629d50c4a0bf5d8d892a5eb9 (patch) | |
tree | 331492b6e7bf5af6c0ea4be1799781a9fe1406d0 /src/atomic_ops.h | |
parent | 75c42d90ecf23027a4a87497ea0916cbae15f0d7 (diff) | |
download | libatomic_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.h | 3 |
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__) \ |