Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: - In apache#14465, atomic_compare_exchange_weak_explicit() was newly introduced in semaphore. However, cxd56xx has an issue with the API if SMP is enabled (see up_testset2 in cxd56_testset.c). - This commit fixes the issue by using LIBC_ARCH_ATOMIC. Impact: - Only cxd56xx SoCs in SMP mode. Testing: - Tested with spresense:smp, spresense:wifi_smp - NOTE: If DEBUG_ASSERTIONS is enabled assert would be happend. I think this might be another issue. Signed-off-by: Masayuki Ishikawa <[email protected]>
- Loading branch information