sh: Don't NOTIFY_STOP for non-UBC breakpoint traps.
commitb74ab703b1326aafadb5604ff6200da62c61df49
authorPaul Mundt <lethal@linux-sh.org>
Tue, 22 Dec 2009 03:40:38 +0000 (22 12:40 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Dec 2009 03:40:38 +0000 (22 12:40 +0900)
tree82bd4c880526ba0f7ded0302f8926b65bd2ee16b
parent6c0ee6a4bba0e21eb0fb4de5bdac03c11b74242d
sh: Don't NOTIFY_STOP for non-UBC breakpoint traps.

Presently the hw_breakpoint code is the primary notifier dispatch for
breakpoint traps, although it's only UBC traps that are of particular
interest there. This patches in a check to allow non-UBC generated
breakpoints to pass through down the remainder of the notifier chain,
giving things like kgdb a chance at getting notified.

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