mcst-linux-kernel/patches-2024.06.26/libatomic-ops-7.4.4/0001-.mod.patch

16 lines
507 B
Diff

diff --git a/src/atomic_ops.h b/src/atomic_ops.h
index 33fe00e..4fd6cf8 100644
--- a/src/atomic_ops.h
+++ b/src/atomic_ops.h
@@ -291,6 +291,9 @@
# if defined(__hexagon__)
# include "atomic_ops/sysdeps/gcc/hexagon.h"
# endif
+# if defined(__e2k__)
+# include "atomic_ops/sysdeps/gcc/e2k.h"
+# endif
#endif /* __GNUC__ && !AO_USE_PTHREAD_DEFS */
#if (defined(__IBMC__) || defined(__IBMCPP__)) && !defined(__GNUC__) \
diff --git a/src/atomic_ops/sysdeps/gcc/e2k.h b/src/atomic_ops/sysdeps/gcc/e2k.h