sunrpc-kallsym-deactivated.patch 476 B

12345678910111213
  1. diff -Nur linux-2.6.28.orig/net/sunrpc/clnt.c linux-2.6.28/net/sunrpc/clnt.c
  2. --- linux-2.6.28.orig/net/sunrpc/clnt.c 2008-12-25 00:26:37.000000000 +0100
  3. +++ linux-2.6.28/net/sunrpc/clnt.c 2009-01-04 16:35:59.000000000 +0100
  4. @@ -1548,7 +1548,9 @@
  5. /* map tk_action pointer to a function name; then trim off
  6. * the "+0x0 [sunrpc]" */
  7. +#ifdef CONFIG_KALLSYMS
  8. sprint_symbol(action, (unsigned long)task->tk_action);
  9. +#endif
  10. p = strchr(action, '+');
  11. if (p)
  12. *p = '\0';