summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/processor.h
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2018-12-28 06:02:01 +0100
committerIngo Molnar <mingo@kernel.org>2019-01-21 11:18:56 +0100
commitbba2a8f1f974a45ca6ceaf688b2be7bc1c418a2f (patch)
tree9bcda273e51cdf6a4cab3e111bf9065722f4cacb /arch/riscv/include/asm/processor.h
parent436a49ae7b693161c4fdf98b575ef16243dc2dfa (diff)
downloadtalos-op-linux-bba2a8f1f974a45ca6ceaf688b2be7bc1c418a2f.tar.gz
talos-op-linux-bba2a8f1f974a45ca6ceaf688b2be7bc1c418a2f.zip
locking/lockdep: Provide enum lock_usage_bit mask names
It makes the code more self-explanatory and tells throughout the code what magic number refers to: - state (Hardirq/Softirq) - direction (used in or enabled above state) - read or write We can even remove some comments that were compensating for the lack of those constant names. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Will Deacon <will.deacon@arm.com> Link: https://lkml.kernel.org/r/1545973321-24422-3-git-send-email-frederic@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/riscv/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud