]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] Switch Kprobes inline functions to __kprobes for sparc64
authorPrasanna S Panchamukhi <prasanna@in.ibm.com>
Wed, 19 Apr 2006 05:22:03 +0000 (22:22 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:53 +0000 (09:13 -0700)
commit07fab8da808d0702778da50e5b435e6ba471c903
tree59ee487f2bb46e7200ec0888baae34a611530497
parent3ca269d8b4d020af018e9e7e82b22f965a0e1bd9
[PATCH] Switch Kprobes inline functions to __kprobes for sparc64

Andrew Morton pointed out that compiler might not inline the functions
marked for inline in kprobes.  There-by allowing the insertion of probes
on these kprobes routines, which might cause recursion.

This patch removes all such inline and adds them to kprobes section
there by disallowing probes on all such routines.  Some of the routines
can even still be inlined, since these routines gets executed after the
kprobes had done necessay setup for reentrancy.

Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc64/kernel/kprobes.c