Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek...
[linux-2.6-block.git] / fs / sysfs / file.c
index 39da8e86f10a778a85e15edbb0728721a70d4482..5c13f29bfcdb72024bdee5828a453d73e6dd2b5a 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <linux/module.h>
 #include <linux/kobject.h>
-#include <linux/kallsyms.h>
 #include <linux/slab.h>
 #include <linux/list.h>
 #include <linux/mutex.h>
@@ -69,8 +68,8 @@ static int sysfs_kf_seq_show(struct seq_file *sf, void *v)
         * indicate truncated result or overflow in normal use cases.
         */
        if (count >= (ssize_t)PAGE_SIZE) {
-               print_symbol("fill_read_buffer: %s returned bad count\n",
-                       (unsigned long)ops->show);
+               printk("fill_read_buffer: %pS returned bad count\n",
+                               ops->show);
                /* Try to struggle along */
                count = PAGE_SIZE - 1;
        }