From: Vegard Nossum Date: Wed, 30 Jul 2008 05:33:32 +0000 (-0700) Subject: print_ip_sym(): use %pS X-Git-Tag: v2.6.27-rc2~182 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f1712bac586069d6c891a8201457283b27e8abe;p=linux-2.6 print_ip_sym(): use %pS Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h index 57aefa160a..b961448874 100644 --- a/include/linux/kallsyms.h +++ b/include/linux/kallsyms.h @@ -108,8 +108,7 @@ static inline void print_fn_descriptor_symbol(const char *fmt, void *addr) static inline void print_ip_sym(unsigned long ip) { - printk("[<%p>]", (void *) ip); - print_symbol(" %s\n", ip); + printk("[<%p>] %pS\n", (void *) ip, (void *) ip); } #endif /*_LINUX_KALLSYMS_H*/