]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: fix change_bit in exclusive access option
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Oct 2019 04:51:43 +0000 (21:51 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Oct 2019 07:14:33 +0000 (00:14 -0700)
commit5d5cf21263a443f416aa8efda25b1ea07abb3bc0
tree847cb936bf566b68a73869c5b505f5618e60fc65
parent3b03cfac0ea92db827266fbacb60e3ccbc0c0c65
xtensa: fix change_bit in exclusive access option

change_bit implementation for XCHAL_HAVE_EXCLUSIVE case changes all bits
except the one required due to copy-paste error from clear_bit.

Cc: stable@vger.kernel.org # v5.2+
Fixes: 255a80c534d4 ("xtensa: add exclusive atomics support")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/bitops.h