mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-26 21:17:12 +08:00
9 lines
195 B
C
9 lines
195 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include "two_state_shared_lock.h"
|
|
|
|
void __bch2_two_state_lock(two_state_lock_t *lock, int s)
|
|
{
|
|
__wait_event(lock->wait, bch2_two_state_trylock(lock, s));
|
|
}
|