• Peter Zijlstra's avatar
    locking/lockdep: Generate LOCKF_ bit composites · 8808a7c6
    Peter Zijlstra authored
    Instead of open-coding the bitmasks, generate them using the
    lockdep_states.h header.
    
    This prepares for additional states, which would make the manual masks
    tedious and error prone.
    Signed-off-by: default avatarPeter 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>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    8808a7c6
lockdep_internals.h 6.15 KB