aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-01 21:53:16 +0000
committerPaul Burton <paul.burton@mips.com>2019-10-07 09:42:27 -0700
commit9537db24c65aeb71718916272687b0d00d3e0821 (patch)
tree183c4a006af8b39da82c163bceea234dfdeea714 /tools/perf/scripts/python
parentMIPS: atomic: Fix whitespace in ATOMIC_OP macros (diff)
downloadlinux-9537db24c65aeb71718916272687b0d00d3e0821.tar.gz
linux-9537db24c65aeb71718916272687b0d00d3e0821.zip
MIPS: atomic: Handle !kernel_uses_llsc first
Handle the !kernel_uses_llsc path first in our ATOMIC_OP(), ATOMIC_OP_RETURN() & ATOMIC_FETCH_OP() macros & return from within the block. This allows us to de-indent the kernel_uses_llsc path by one level which will be useful when making further changes. 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/python')
0 files changed, 0 insertions, 0 deletions