diff options
Diffstat (limited to 'arch/x86/xen/spinlock.c')
-rw-r--r-- | arch/x86/xen/spinlock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/spinlock.c b/arch/x86/xen/spinlock.c index 669a971c78fd..6c8792b298ed 100644 --- a/arch/x86/xen/spinlock.c +++ b/arch/x86/xen/spinlock.c | |||
@@ -173,6 +173,7 @@ out: | |||
173 | local_irq_restore(flags); | 173 | local_irq_restore(flags); |
174 | spin_time_accum_blocked(start); | 174 | spin_time_accum_blocked(start); |
175 | } | 175 | } |
176 | PV_CALLEE_SAVE_REGS_THUNK(xen_lock_spinning); | ||
176 | 177 | ||
177 | static void xen_unlock_kick(struct arch_spinlock *lock, __ticket_t next) | 178 | static void xen_unlock_kick(struct arch_spinlock *lock, __ticket_t next) |
178 | { | 179 | { |
@@ -260,7 +261,7 @@ void __init xen_init_spinlocks(void) | |||
260 | return; | 261 | return; |
261 | } | 262 | } |
262 | 263 | ||
263 | pv_lock_ops.lock_spinning = xen_lock_spinning; | 264 | pv_lock_ops.lock_spinning = PV_CALLEE_SAVE(xen_lock_spinning); |
264 | pv_lock_ops.unlock_kick = xen_unlock_kick; | 265 | pv_lock_ops.unlock_kick = xen_unlock_kick; |
265 | } | 266 | } |
266 | 267 | ||