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