diff options
author | 2017-06-09 17:26:34 -0700 | |
---|---|---|
committer | 2017-06-29 02:42:24 +0200 | |
commit | 5154f3b4194910a4216866e7535c37e5bcb17800 (patch) | |
tree | 500f895cd8008c1aeff9c446e590c561dac279b2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: cmpxchg: Unify R10000_LLSC_WAR & non-R10000_LLSC_WAR cases (diff) | |
download | wireguard-linux-5154f3b4194910a4216866e7535c37e5bcb17800.tar.xz wireguard-linux-5154f3b4194910a4216866e7535c37e5bcb17800.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions