* @brief Initialize a static spinlock object. * * @param lock is a pointer to the spinlock to initialize. * * @note This function has UP version and MP version. */
| 45 | * @note This function has UP version and MP version. |
| 46 | */ |
| 47 | void rt_spin_lock_init(struct rt_spinlock *lock) |
| 48 | { |
| 49 | rt_hw_spin_lock_init(&lock->lock); |
| 50 | } |
| 51 | RTM_EXPORT(rt_spin_lock_init) |
| 52 | |
| 53 | /** |
nothing calls this directly
no test coverage detected