Paul Burton 5154f3b419 MIPS: cmpxchg: Pull xchg() asm into a macro
Use a macro to generate the 32 & 64 bit variants of the backing code for
xchg(), much as is already done for cmpxchg(). This removes the
duplication that could previously be found in __xchg_u32() &
__xchg_u64().

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16349/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-06-29 02:42:24 +02:00
..
2016-10-06 17:31:02 +02:00
2016-08-03 08:16:30 +02:00
2017-01-25 02:51:11 +01:00
2016-04-03 12:32:09 +02:00
2017-06-28 12:22:39 +02:00
2017-06-28 12:22:39 +02:00
2017-03-08 10:38:06 +01:00
2017-04-06 02:08:06 -04:00
2017-03-08 10:38:06 +01:00
2017-03-08 10:38:06 +01:00
2017-04-10 11:56:07 +02:00
2017-06-28 12:22:39 +02:00