summaryrefslogtreecommitdiffstats
path: root/sound/usb/hiface
diff options
context:
space:
mode:
authorWaiman Long <Waiman.Long@hp.com>2015-05-11 03:17:10 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-11 09:51:52 +0200
commit52c9d2badd1ae4d11c29de57d4e964e48afd3cb4 (patch)
tree00edebb52a79aec06420e26520d788d0e0373cbc /sound/usb/hiface
parentlocking/pvqspinlock, x86: Enable PV qspinlock for Xen (diff)
downloadlinux-52c9d2badd1ae4d11c29de57d4e964e48afd3cb4.tar.xz
linux-52c9d2badd1ae4d11c29de57d4e964e48afd3cb4.zip
locking/pvqspinlock: Replace xchg() by the more descriptive set_mb()
The xchg() function was used in pv_wait_node() to set a certain value and provide a memory barrier which is what the set_mb() function is for. This patch replaces the xchg() call by set_mb(). Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Waiman Long <Waiman.Long@hp.com> Cc: Douglas Hatch <doug.hatch@hp.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Scott J Norton <scott.norton@hp.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'sound/usb/hiface')
0 files changed, 0 insertions, 0 deletions