mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14456 from ladislas/ladislas/feature/fix-mbed_atomic-mac-m1
Fix define MBED_EXCLUSIVE_ACCESS for Apple M1 (__aarch64__) computerspull/14481/head
commit
d20384aaf9
|
|
@ -88,6 +88,8 @@ typedef enum mbed_memory_order {
|
||||||
#endif
|
#endif
|
||||||
#elif (__ARM_ARCH_6M__ == 1U)
|
#elif (__ARM_ARCH_6M__ == 1U)
|
||||||
#define MBED_EXCLUSIVE_ACCESS 0U
|
#define MBED_EXCLUSIVE_ACCESS 0U
|
||||||
|
#elif defined __aarch64__ // Apple M1 Mac
|
||||||
|
#define MBED_EXCLUSIVE_ACCESS 0U
|
||||||
#else
|
#else
|
||||||
#error "Unknown ARM architecture for exclusive access"
|
#error "Unknown ARM architecture for exclusive access"
|
||||||
#endif // __ARM_ARCH_xxx
|
#endif // __ARM_ARCH_xxx
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue