]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/locking/lockdep.c
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / kernel / locking / lockdep.c
index d9a698e8458f5280ac8a32d859cfc9dc9f82d129..9812e5dd409e98b7cfe8133601854cae8111b772 100644 (file)
@@ -2203,7 +2203,7 @@ static inline int lookup_chain_cache(struct task_struct *curr,
         * Important for check_no_collision().
         */
        if (unlikely(nr_chain_hlocks > MAX_LOCKDEP_CHAIN_HLOCKS)) {
-               if (debug_locks_off_graph_unlock())
+               if (!debug_locks_off_graph_unlock())
                        return 0;
 
                print_lockdep_off("BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!");