Commit 948c1e2521979c332b21b623414cf258150f214e

Authored by Amerigo Wang
Committed by Linus Torvalds
1 parent 29671f22a8

kallsyms: remove deprecated print_fn_descriptor_symbol()

According to feature-removal-schedule.txt, it is the time to remove
print_fn_descriptor_symbol().

And a quick grep shows that it no longer has any callers.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 2 changed files with 0 additions and 21 deletions Side-by-side Diff

Documentation/feature-removal-schedule.txt
... ... @@ -291,15 +291,6 @@
291 291  
292 292 ---------------------------
293 293  
294   -What: print_fn_descriptor_symbol()
295   -When: October 2009
296   -Why: The %pF vsprintf format provides the same functionality in a
297   - simpler way. print_fn_descriptor_symbol() is deprecated but
298   - still present to give out-of-tree modules time to change.
299   -Who: Bjorn Helgaas <bjorn.helgaas@hp.com>
300   -
301   ----------------------------
302   -
303 294 What: /sys/o2cb symlink
304 295 When: January 2010
305 296 Why: /sys/fs/o2cb is the proper location for this information - /sys/o2cb
include/linux/kallsyms.h
... ... @@ -107,18 +107,6 @@
107 107 __builtin_extract_return_addr((void *)addr));
108 108 }
109 109  
110   -/*
111   - * Pretty-print a function pointer. This function is deprecated.
112   - * Please use the "%pF" vsprintf format instead.
113   - */
114   -static inline void __deprecated print_fn_descriptor_symbol(const char *fmt, void *addr)
115   -{
116   -#if defined(CONFIG_IA64) || defined(CONFIG_PPC64)
117   - addr = *(void **)addr;
118   -#endif
119   - print_symbol(fmt, (unsigned long)addr);
120   -}
121   -
122 110 static inline void print_ip_sym(unsigned long ip)
123 111 {
124 112 printk("[<%p>] %pS\n", (void *) ip, (void *) ip);