]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sh: kprobes: Default to NOTIFY_DONE for unhandled debug traps.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 8 Sep 2008 09:12:33 +0000 (18:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 8 Sep 2008 09:12:33 +0000 (18:12 +0900)
commitee386de77419f9fedf206d84c4d4b2de0ead5bcb
tree465a797b46d8124f918e99948734b0528f2bec3b
parent174b5c9923e0170c844e03d55a9f3fb3b329a8b7
sh: kprobes: Default to NOTIFY_DONE for unhandled debug traps.

Presently this is doing a force_sig() SIGTRAP, which is already taken
care of in the generic code if no one asserts NOTIFY_STOP. Switch the
default return to NOTIFY_DONE in the case of unhandled traps, so that
the same trap may pass through to other users on the same die chain.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/kprobes.c