]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/kallsyms.h
mm/oom_kill.c: fix badness() kerneldoc
[linux-2.6-omap-h63xx.git] / include / linux / kallsyms.h
index b96144887444a222621a4167f646859528887bb5..f3fe34391d8e2664f2d1bef0140b184f879b8e32 100644 (file)
@@ -93,12 +93,10 @@ static inline void print_symbol(const char *fmt, unsigned long addr)
 }
 
 /*
- * Pretty-print a function pointer.
- *
- * ia64 and ppc64 function pointers are really function descriptors,
- * which contain a pointer the real address.
+ * Pretty-print a function pointer.  This function is deprecated.
+ * Please use the "%pF" vsprintf format instead.
  */
-static inline void print_fn_descriptor_symbol(const char *fmt, void *addr)
+static inline void __deprecated print_fn_descriptor_symbol(const char *fmt, void *addr)
 {
 #if defined(CONFIG_IA64) || defined(CONFIG_PPC64)
        addr = *(void **)addr;