diff options
Diffstat (limited to 'kernel/time/timer_list.c')
-rw-r--r-- | kernel/time/timer_list.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index 59df5e8555a8..fe9314a89f20 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c | |||
@@ -40,11 +40,9 @@ static void print_name_offset(struct seq_file *m, void *sym) | |||
40 | { | 40 | { |
41 | unsigned long addr = (unsigned long)sym; | 41 | unsigned long addr = (unsigned long)sym; |
42 | char namebuf[KSYM_NAME_LEN+1]; | 42 | char namebuf[KSYM_NAME_LEN+1]; |
43 | unsigned long size, offset; | ||
44 | const char *sym_name; | 43 | const char *sym_name; |
45 | char *modname; | ||
46 | 44 | ||
47 | sym_name = kallsyms_lookup(addr, &size, &offset, &modname, namebuf); | 45 | sym_name = kallsyms_lookup(addr, NULL, NULL, NULL, namebuf); |
48 | if (sym_name) | 46 | if (sym_name) |
49 | SEQ_printf(m, "%s", sym_name); | 47 | SEQ_printf(m, "%s", sym_name); |
50 | else | 48 | else |