History

Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull locking fixes from Ingo Molnar: "Two lockdep fixes" * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: lockdep: Fix lock_chain::base size locking/lockdep: Fix ->irq_context calculation

Linus Torvalds committed 10 years ago

Commit 2113cae2 parents 8f3603a 75dd6023 files · +41 −6Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/lockdep.h+5−3
@@ -196,9 +196,11 @@ struct lock_list { · 195 unmodified lines
196 * We record lock dependency chains, so that we can cache them:196 * We record lock dependency chains, so that we can cache them:
197 */197 */
198struct lock_chain {198struct lock_chain {
199 u8 irq_context;199 /* see BUILD_BUG_ON()s in lookup_chain_cache() */
200 u8 depth;200 unsigned int irq_context : 2,
201 u16 base;201 depth : 6,
202 base : 24;
203 /* 4 byte hole */
202 struct hlist_node entry;204 struct hlist_node entry;
203 u64 chain_key;205 u64 chain_key;
204};206};