diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-06-09 17:26:38 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-06-29 02:42:25 +0200 |
commit | 8263db4d7768448cb06adbbdd14c613a1ea09830 (patch) | |
tree | 7191e01be77bf903f87fb730e519152dcd8a5c58 /arch/mips/include/asm/dec | |
parent | 62c6081dca75d6bec1198ed5a1ae50968b323a8c (diff) |
MIPS: cmpxchg: Implement __cmpxchg() as a function
Replace the macro definition of __cmpxchg() with an inline function,
which is easier to read & modify. The cmpxchg() & cmpxchg_local() macros
are adjusted to call the new __cmpxchg() function.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16353/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/dec')
0 files changed, 0 insertions, 0 deletions