diff options
author | 2017-06-09 17:26:37 -0700 | |
---|---|---|
committer | 2017-06-29 02:42:25 +0200 | |
commit | 62c6081dca75d6bec1198ed5a1ae50968b323a8c (patch) | |
tree | 71800a5277c34d533ee726e0947d121c00848043 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: cmpxchg: Error out on unsupported xchg() calls (diff) | |
download | wireguard-linux-62c6081dca75d6bec1198ed5a1ae50968b323a8c.tar.xz wireguard-linux-62c6081dca75d6bec1198ed5a1ae50968b323a8c.zip |
MIPS: cmpxchg: Drop __xchg_u{32,64} functions
The __xchg_u32() & __xchg_u64() functions now add very little value.
This patch therefore removes them, by:
- Moving memory barriers out of them & into xchg(), which also removes
the duplication & readies us to support xchg_relaxed() if we wish to.
- Calling __xchg_asm() directly from __xchg().
- Performing the check for CONFIG_64BIT being enabled in the size=8
case of __xchg().
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16352/
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