aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2008-07-29 22:33:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-30 09:41:45 -0700
commit3f1712bac586069d6c891a8201457283b27e8abe (patch)
tree95f5b83236a5ae8bcb714fe0e756ab26e9722bc9 /include
parentc389d27b5e643d745f55ffb939b1426060ba63d4 (diff)
downloadkernel_samsung_smdk4412-3f1712bac586069d6c891a8201457283b27e8abe.zip
kernel_samsung_smdk4412-3f1712bac586069d6c891a8201457283b27e8abe.tar.gz
kernel_samsung_smdk4412-3f1712bac586069d6c891a8201457283b27e8abe.tar.bz2
print_ip_sym(): use %pS
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kallsyms.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h
index 57aefa1..b961448 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*/