aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-x86/paravirt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h
index b2aba8fdaae7..27c9f22ba095 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -1401,7 +1401,7 @@ static inline int __raw_spin_is_contended(struct raw_spinlock *lock)
1401 1401
1402static __always_inline void __raw_spin_lock(struct raw_spinlock *lock) 1402static __always_inline void __raw_spin_lock(struct raw_spinlock *lock)
1403{ 1403{
1404 return PVOP_VCALL1(pv_lock_ops.spin_lock, lock); 1404 PVOP_VCALL1(pv_lock_ops.spin_lock, lock);
1405} 1405}
1406 1406
1407static __always_inline int __raw_spin_trylock(struct raw_spinlock *lock) 1407static __always_inline int __raw_spin_trylock(struct raw_spinlock *lock)
@@ -1411,7 +1411,7 @@ static __always_inline int __raw_spin_trylock(struct raw_spinlock *lock)
1411 1411
1412static __always_inline void __raw_spin_unlock(struct raw_spinlock *lock) 1412static __always_inline void __raw_spin_unlock(struct raw_spinlock *lock)
1413{ 1413{
1414 return PVOP_VCALL1(pv_lock_ops.spin_unlock, lock); 1414 PVOP_VCALL1(pv_lock_ops.spin_unlock, lock);
1415} 1415}
1416 1416
1417#endif 1417#endif