diff options
author | Peter Zijlstra <peterz@infradead.org> | 2018-09-26 13:01:18 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-10-16 17:33:53 +0200 |
commit | 53bf57fab7321fb42b703056a4c80fc9d986d170 (patch) | |
tree | 9235fe433960327c1da49e63e796e992b196173f /crypto/crypto_null.c | |
parent | ec57e2f0acb01710cd465bc04495ed03a9e0fea1 (diff) | |
download | linux-53bf57fab7321fb42b703056a4c80fc9d986d170.tar.bz2 |
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 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions