mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
lockdep: lookup_chain_cache comment errata
Signed-off-by: Jarek Poplawski <jarkao2@o2.pl> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
076fa0fa2d
commit
9e860d000a
@ -1309,8 +1309,9 @@ out_unlock_set:
|
||||
|
||||
/*
|
||||
* Look up a dependency chain. If the key is not present yet then
|
||||
* add it and return 0 - in this case the new dependency chain is
|
||||
* validated. If the key is already hashed, return 1.
|
||||
* add it and return 1 - in this case the new dependency chain is
|
||||
* validated. If the key is already hashed, return 0.
|
||||
* (On return with 1 graph_lock is held.)
|
||||
*/
|
||||
static inline int lookup_chain_cache(u64 chain_key, struct lock_class *class)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user