1/*
2 * Split spinlock implementation out into its own file, so it can be
3 * compiled in a FTRACE-compatible way.
4 */
5#include <linux/spinlock.h>
6#include <linux/module.h>
7#include <linux/jump_label.h>
8
9#include <asm/paravirt.h>
10
11struct pv_lock_ops pv_lock_ops = {
12#ifdef CONFIG_SMP
13	.lock_spinning = __PV_IS_CALLEE_SAVE(paravirt_nop),
14	.unlock_kick = paravirt_nop,
15#endif
16};
17EXPORT_SYMBOL(pv_lock_ops);
18
19struct static_key paravirt_ticketlocks_enabled = STATIC_KEY_INIT_FALSE;
20EXPORT_SYMBOL(paravirt_ticketlocks_enabled);
21