[PATCH] Kprobes/IA64: check jprobe break before handling
authorKeshavamurthy Anil S <anil.s.keshavamurthy@intel.com>
Thu, 23 Jun 2005 07:09:35 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:24 +0000 (09:45 -0700)
commit89cb14c0dd0e4a7d0315d19f449389c4d49237ee
tree795e52fd30c5236c365be7a3eaedb316e5c8cad5
parent708de8f11c2901cc49fd7725baf4a0fbd7264e73
[PATCH] Kprobes/IA64: check jprobe break before handling

Once the jprobe instrumented function returns, it executes a jprobe_break
which is a break instruction with __IA64_JPROBE_BREAK value.  The current
patch checks for this break value, before assuming that jprobe instrumented
function just completed.

The previous code was not checking for this value and that was a bug.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/kernel/kprobes.c