[PATCH] Switch Kprobes inline functions to __kprobes for ia64
authorPrasanna S Panchamukhi <prasanna@in.ibm.com>
Wed, 19 Apr 2006 05:22:02 +0000 (22:22 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:53 +0000 (09:13 -0700)
commit3ca269d8b4d020af018e9e7e82b22f965a0e1bd9
tree8de614ac12a4ec0c2fb6c9392d8efaff6e2d73c9
parent46dbe2f4ef9954e3ed2155995b76e32f31fef6bb
[PATCH] Switch Kprobes inline functions to __kprobes for ia64

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: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/kernel/kprobes.c