Closed cejkato2 closed 4 years ago
Test build using Turris SDK revealed some missing atomic functions. This patch defines:
uint64_t __sync_add_and_fetch_8(uint64_t *ptr, uint64_t value); uint64_t __sync_or_and_fetch_8(uint64_t *ptr, uint64_t value); uint64_t __sync_and_and_fetch_8(uint64_t *ptr, uint64_t value);
when configure script detects missing atomops, e.g., for turris.
Test build using Turris SDK revealed some missing atomic functions. This patch defines:
when configure script detects missing atomops, e.g., for turris.