Files
linux/arch/mips/include/asm
Paul Burton 1da7bce859 MIPS: atomic: Deduplicate 32b & 64b read, set, xchg, cmpxchg
Remove the remaining duplication between 32b & 64b in asm/atomic.h by
making use of an ATOMIC_OPS() macro to generate:

  - atomic_read()/atomic64_read()
  - atomic_set()/atomic64_set()
  - atomic_cmpxchg()/atomic64_cmpxchg()
  - atomic_xchg()/atomic64_xchg()

This is consistent with the way all other functions in asm/atomic.h are
generated, and ensures consistency between the 32b & 64b functions.

Of note is that this results in the above now being static inline
functions rather than macros.

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:36 -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
2014-08-26 02:18:56 +02: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
2014-08-02 00:06:38 +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