Skip to content
Snippets Groups Projects
Commit 2429e4ee authored by Huang, Ying's avatar Huang, Ying Committed by Ingo Molnar
Browse files

lockdep: output lock_class key instead of address for forward dependency output


The key instead of address of lock_class should be output in
/proc/lockdep when forward dependency is output, because key is
output for lock_class itself as identifier too.

This patch is based on x86/auto-latest branch of git-x86 tree, and has
been tested on x86_64 platform.

Signed-off-by: default avatarHuang Ying <ying.huang@intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 6ad36762
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ static int l_show(struct seq_file *m, void *v) ...@@ -139,7 +139,7 @@ static int l_show(struct seq_file *m, void *v)
list_for_each_entry(entry, &class->locks_after, entry) { list_for_each_entry(entry, &class->locks_after, entry) {
if (entry->distance == 1) { if (entry->distance == 1) {
seq_printf(m, " -> [%p] ", entry->class); seq_printf(m, " -> [%p] ", entry->class->key);
print_name(m, entry->class); print_name(m, entry->class);
seq_puts(m, "\n"); seq_puts(m, "\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment