summaryrefslogtreecommitdiffstats
path: root/scripts/recordmcount.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-09-26 13:01:18 +0200
committerIngo Molnar <mingo@kernel.org>2018-10-16 17:33:53 +0200
commit53bf57fab7321fb42b703056a4c80fc9d986d170 (patch)
tree9235fe433960327c1da49e63e796e992b196173f /scripts/recordmcount.c
parentec57e2f0acb01710cd465bc04495ed03a9e0fea1 (diff)
downloadtalos-op-linux-53bf57fab7321fb42b703056a4c80fc9d986d170.tar.gz
talos-op-linux-53bf57fab7321fb42b703056a4c80fc9d986d170.zip
locking/qspinlock: Re-order code
Flip the branch condition after atomic_fetch_or_acquire(_Q_PENDING_VAL) such that we loose the indent. This also result in a more natural code flow IMO. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Will Deacon <will.deacon@arm.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: andrea.parri@amarulasolutions.com Cc: longman@redhat.com Link: https://lkml.kernel.org/r/20181003130257.156322446@infradead.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud