Merge branch 'master' of git+ssh://openadk.org/git/openadk
[openadk.git] / target / linux / patches / 2.6.28 / sunrpc-kallsym-deactivated.patch
blob3c5f38fdf9c8318643940fae1022949a6ec8f6af
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 @@
6 /* map tk_action pointer to a function name; then trim off
7 * the "+0x0 [sunrpc]" */
8 +#ifdef CONFIG_KALLSYMS
9 sprint_symbol(action, (unsigned long)task->tk_action);
10 +#endif
11 p = strchr(action, '+');
12 if (p)
13 *p = '\0';