summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/kprobes.c
diff options
context:
space:
mode:
authorPrasanna S Panchamukhi2006-04-19 07:22:00 +0200
committerLinus Torvalds2006-04-19 18:13:53 +0200
commit3b60211c1618063cb296439ebaef2041a725ba20 (patch)
tree5de7fd33aeac8397df4e28aea50eb2bb34829de9 /arch/powerpc/kernel/kprobes.c
parent[PATCH] Switch Kprobes inline functions to __kprobes for i386 (diff)
downloadkernel-qcow2-linux-3b60211c1618063cb296439ebaef2041a725ba20.tar.gz
kernel-qcow2-linux-3b60211c1618063cb296439ebaef2041a725ba20.tar.xz
kernel-qcow2-linux-3b60211c1618063cb296439ebaef2041a725ba20.zip
[PATCH] Switch Kprobes inline functions to __kprobes for x86_64
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> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/powerpc/kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions