diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-06-10 02:26:41 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-06-29 02:42:25 +0200 |
commit | 4843cf8d3be4d45f609c865698b63374ae935042 (patch) | |
tree | 59aa8aacf63e938a66c1f7645481edcbc4618178 /arch/mips/ar7 | |
parent | MIPS: cmpxchg: Implement 1 byte & 2 byte cmpxchg() (diff) | |
download | linux-4843cf8d3be4d45f609c865698b63374ae935042.tar.xz linux-4843cf8d3be4d45f609c865698b63374ae935042.zip |
MIPS: cmpxchg: Rearrange __xchg() arguments to match xchg()
The __xchg() function declares its first 2 arguments in reverse order
compared to the xchg() macro, which is confusing & serves no purpose.
Reorder the arguments such that __xchg() & xchg() match.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16356/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ar7')
0 files changed, 0 insertions, 0 deletions