aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/timer_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time/timer_stats.c')
-rw-r--r--kernel/time/timer_stats.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/time/timer_stats.c b/kernel/time/timer_stats.c
index 1bc4882e28e0..946ed45f7d2f 100644
--- a/kernel/time/timer_stats.c
+++ b/kernel/time/timer_stats.c
@@ -258,11 +258,9 @@ void timer_stats_update_stats(void *timer, pid_t pid, void *startf,
258static void print_name_offset(struct seq_file *m, unsigned long addr) 258static void print_name_offset(struct seq_file *m, unsigned long addr)
259{ 259{
260 char namebuf[KSYM_NAME_LEN+1]; 260 char namebuf[KSYM_NAME_LEN+1];
261 unsigned long size, offset;
262 const char *sym_name; 261 const char *sym_name;
263 char *modname;
264 262
265 sym_name = kallsyms_lookup(addr, &size, &offset, &modname, namebuf); 263 sym_name = kallsyms_lookup(addr, NULL, NULL, NULL, namebuf);
266 if (sym_name) 264 if (sym_name)
267 seq_printf(m, "%s", sym_name); 265 seq_printf(m, "%s", sym_name);
268 else 266 else