diff options
| author | Paul Burton <paul.burton@mips.com> | 2019-10-01 21:53:18 +0000 |
|---|---|---|
| committer | Paul Burton <paul.burton@mips.com> | 2019-10-07 09:42:29 -0700 |
| commit | a38ee6bb14a41b6849576bcf6cbd33cbbe5c3a7d (patch) | |
| tree | 96dcc0c4d67b9079b33878e6c032daf2b8a97e6c /tools/perf/scripts | |
| parent | MIPS: atomic: Handle !kernel_uses_llsc first (diff) | |
| download | linux-a38ee6bb14a41b6849576bcf6cbd33cbbe5c3a7d.tar.gz linux-a38ee6bb14a41b6849576bcf6cbd33cbbe5c3a7d.zip | |
MIPS: atomic: Use one macro to generate 32b & 64b functions
Cut down on duplication by generalizing the ATOMIC_OP(),
ATOMIC_OP_RETURN() & ATOMIC_FETCH_OP() macros to work for both 32b &
64b atomics, and removing the ATOMIC64_ variants. This ensures
consistency between our atomic_* & atomic64_* functions.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
