]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lockdep: generate the state bit definitions
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 22 Jan 2009 13:38:38 +0000 (14:38 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 14 Feb 2009 22:28:01 +0000 (23:28 +0100)
commitd7b1b02134272840f4b655136e00c461e1cf1d53
tree9bb71dbfbc5155cfab9829716c2b9b01cf2a76ed
parent9851673bc32bc9fcafbbaeffc858ead434bd6d58
lockdep: generate the state bit definitions

Generate the state bit definitions from the lockdep_states.h file.

Also, move LOCK_USED to last, so that the

 USED_IN
 USED_IN_READ
 ENABLED
 ENABLED_READ

states are nicely bit aligned -- we're going to use that property

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep_internals.h