]> git.itanic.dy.fi Git - linux-stable/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)
commit775fd6bfefc66a8c33e91dd9687ed530643b954d
tree847cb936bf566b68a73869c5b505f5618e60fc65
parent0c401fdf27ba52830c39670dc81cd8379756bd65
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: f7c34874f04a ("xtensa: add exclusive atomics support")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/bitops.h