lockdep: increase MAX_LOCKDEP_KEYS
authorIngo Molnar <mingo@elte.hu>
Mon, 11 Aug 2008 10:37:27 +0000 (12:37 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 Aug 2008 13:25:07 +0000 (15:25 +0200)
certain configs produce:

 [   70.076229] BUG: MAX_LOCKDEP_KEYS too low!
 [   70.080230] turning off the locking correctness validator.

tune them up.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/lockdep.h

index c88aa3d8e87fef2c048b9ea39a7f0c1a7bad989b..331e5f1c2d8ec4439bc69294337dc1b00345f3d8 100644 (file)
@@ -190,7 +190,7 @@ struct lock_chain {
        u64                             chain_key;
 };
 
-#define MAX_LOCKDEP_KEYS_BITS          11
+#define MAX_LOCKDEP_KEYS_BITS          13
 /*
  * Subtract one because we offset hlock->class_idx by 1 in order
  * to make 0 mean no class. This avoids overflowing the class_idx