summaryrefslogtreecommitdiffstats
path: root/kernel/kallsyms.c
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2018-01-22 10:40:50 +0100
committerPetr Mladek <pmladek@suse.com>2018-01-22 10:40:50 +0100
commit51ccbb0ae865e153c43117e6c3244fa373ea6bd6 (patch)
tree4bfa54ad5ec0542f24627971d937166960c32723 /kernel/kallsyms.c
parentMerge branch 'for-4.16-deprecate-printk-pf' into for-4.16 (diff)
parentkallsyms: remove print_symbol() function (diff)
downloadlinux-51ccbb0ae865e153c43117e6c3244fa373ea6bd6.tar.xz
linux-51ccbb0ae865e153c43117e6c3244fa373ea6bd6.zip
Merge branch 'for-4.16-print-symbol' into for-4.16
Diffstat (limited to 'kernel/kallsyms.c')
-rw-r--r--kernel/kallsyms.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c
index 0e4c0922908a..05082eab736b 100644
--- a/kernel/kallsyms.c
+++ b/kernel/kallsyms.c
@@ -429,17 +429,6 @@ int sprint_backtrace(char *buffer, unsigned long address)
return __sprint_symbol(buffer, address, -1, 1);
}
-/* Look up a kernel symbol and print it to the kernel messages. */
-void __print_symbol(const char *fmt, unsigned long address)
-{
- char buffer[KSYM_SYMBOL_LEN];
-
- sprint_symbol(buffer, address);
-
- printk(fmt, buffer);
-}
-EXPORT_SYMBOL(__print_symbol);
-
/* To avoid using get_symbol_offset for every symbol, we carry prefix along. */
struct kallsym_iter {
loff_t pos;