Changeset 8addb24a in mainline for kernel/generic/src/synch/spinlock.c
- Timestamp:
- 2023-02-03T17:01:49Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aae2869
- Parents:
- 64e9cf4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/spinlock.c
r64e9cf4 r8addb24a 49 49 #include <cpu.h> 50 50 51 #ifndef ARCH_SPIN_HINT52 #define ARCH_SPIN_HINT() ((void)0)53 #endif54 55 51 /** Initialize spinlock 56 52 * … … 82 78 83 79 while (atomic_flag_test_and_set_explicit(&lock->flag, memory_order_acquire)) { 84 ARCH_SPIN_HINT();80 cpu_spin_hint(); 85 81 86 82 #ifdef CONFIG_DEBUG_SPINLOCK
Note:
See TracChangeset
for help on using the changeset viewer.