Files
android_kernel_xiaomi_sm8450/arch/mips/include/asm
Paul Burton 6bbe043bd3 MIPS: bitops: Implement test_and_set_bit() in terms of _lock variant
The only difference between test_and_set_bit() & test_and_set_bit_lock()
is memory ordering barrier semantics - the former provides a full
barrier whilst the latter only provides acquire semantics.

We can therefore implement test_and_set_bit() in terms of
test_and_set_bit_lock() with the addition of the extra memory barrier.
Do this in order to avoid duplicating logic.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-kernel@vger.kernel.org
2019-10-07 09:42:47 -07:00
..
2019-07-30 10:41:54 -07:00
2019-10-07 09:42:24 -07:00
2019-08-23 15:42:40 +01:00
2019-10-07 09:42:13 -07:00
2019-08-26 11:42:40 +01:00
2019-05-22 18:45:52 -07:00
2019-08-31 17:12:26 +01:00
2019-02-04 10:56:41 -08:00
2019-02-04 10:56:41 -08:00
2019-07-23 14:33:51 -07:00
2019-07-01 17:51:40 +02:00
2016-04-03 12:32:09 +02:00
2018-08-01 13:20:15 -07:00
2019-04-03 10:32:54 +02:00
2019-10-02 14:06:41 -07:00
2019-07-25 21:45:05 -07:00
2016-05-09 12:00:02 +02:00