mm: revert "page-writeback.c: subtract min_free_kbytes from dirtyable memory"
[linux/fpc-iii.git] / arch / x86 / kernel / paravirt-spinlocks.c
blobbbb6c7316341f806dc3cb3a5bdce52cbb28de2a3
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>
9 #include <asm/paravirt.h>
11 struct 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
17 EXPORT_SYMBOL(pv_lock_ops);
19 struct static_key paravirt_ticketlocks_enabled = STATIC_KEY_INIT_FALSE;
20 EXPORT_SYMBOL(paravirt_ticketlocks_enabled);