blob: 1c669b5b4607e40e05eeae5d3d0e94dbea8437a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// SPDX-License-Identifier: GPL-2.0-or-later
#include <linux/export.h>
#include <linux/processor.h>
#include <asm/qspinlock.h>
void queued_spin_lock_slowpath(struct qspinlock *lock)
{
while (!queued_spin_trylock(lock))
cpu_relax();
}
EXPORT_SYMBOL(queued_spin_lock_slowpath);
#ifdef CONFIG_PARAVIRT_SPINLOCKS
void pv_spinlocks_init(void)
{
}
#endif
|