diff options
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r-- | kernel/lockdep.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index c1e308a080b8..7f573136a905 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c | |||
@@ -340,10 +340,7 @@ static const char *usage_str[] = | |||
340 | 340 | ||
341 | const char * __get_key_name(struct lockdep_subclass_key *key, char *str) | 341 | const char * __get_key_name(struct lockdep_subclass_key *key, char *str) |
342 | { | 342 | { |
343 | unsigned long offs, size; | 343 | return kallsyms_lookup((unsigned long)key, NULL, NULL, NULL, str); |
344 | char *modname; | ||
345 | |||
346 | return kallsyms_lookup((unsigned long)key, &size, &offs, &modname, str); | ||
347 | } | 344 | } |
348 | 345 | ||
349 | void | 346 | void |