diff options
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 9 | ||||
-rw-r--r-- | include/linux/kallsyms.h | 12 |
2 files changed, 0 insertions, 21 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index eb2c138c277c..21ab9357326d 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -291,15 +291,6 @@ Who: Michael Buesch <mb@bu3sch.de> | |||
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 | What: /sys/o2cb symlink | 294 | What: /sys/o2cb symlink |
304 | When: January 2010 | 295 | When: January 2010 |
305 | Why: /sys/fs/o2cb is the proper location for this information - /sys/o2cb | 296 | Why: /sys/fs/o2cb is the proper location for this information - /sys/o2cb |
diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h index 792274269f2b..d8e9b3d1c23c 100644 --- a/include/linux/kallsyms.h +++ b/include/linux/kallsyms.h | |||
@@ -107,18 +107,6 @@ static inline void print_symbol(const char *fmt, unsigned long addr) | |||
107 | __builtin_extract_return_addr((void *)addr)); | 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 | static inline void print_ip_sym(unsigned long ip) | 110 | static inline void print_ip_sym(unsigned long ip) |
123 | { | 111 | { |
124 | printk("[<%p>] %pS\n", (void *) ip, (void *) ip); | 112 | printk("[<%p>] %pS\n", (void *) ip, (void *) ip); |