]> git.baikalelectronics.ru Git - kernel.git/commit
locking/pvqspinlock/x86: Use LOCK_PREFIX in __pv_queued_spin_unlock() assembly code
authorWaiman Long <longman@redhat.com>
Tue, 17 Jul 2018 20:16:00 +0000 (16:16 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Jul 2018 09:22:20 +0000 (11:22 +0200)
commit0a3c300fec5abc0c468cbad47a3868e631a740f9
tree64eb4abbc1034a5a7f1daac237e5573005bb4c5a
parent17a0e18d3bfd0cb5386b2b28d863dd19b9f19284
locking/pvqspinlock/x86: Use LOCK_PREFIX in __pv_queued_spin_unlock() assembly code

The LOCK_PREFIX macro should be used in the __raw_callee_save___pv_queued_spin_unlock()
assembly code, so that the lock prefix can be patched out on UP systems.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Joe Mario <jmario@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/1531858560-21547-1-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/qspinlock_paravirt.h