diff options
-rw-r--r-- | kernel/lockdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 7f573136a905..dc4ea4c2b4c8 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c | |||
@@ -1309,8 +1309,9 @@ out_unlock_set: | |||
1309 | 1309 | ||
1310 | /* | 1310 | /* |
1311 | * Look up a dependency chain. If the key is not present yet then | 1311 | * Look up a dependency chain. If the key is not present yet then |
1312 | * add it and return 0 - in this case the new dependency chain is | 1312 | * add it and return 1 - in this case the new dependency chain is |
1313 | * validated. If the key is already hashed, return 1. | 1313 | * validated. If the key is already hashed, return 0. |
1314 | * (On return with 1 graph_lock is held.) | ||
1314 | */ | 1315 | */ |
1315 | static inline int lookup_chain_cache(u64 chain_key, struct lock_class *class) | 1316 | static inline int lookup_chain_cache(u64 chain_key, struct lock_class *class) |
1316 | { | 1317 | { |