MIPS: Watch exception handling for HARDWARE_WATCHPOINTS.
authorDavid Daney <ddaney@avtrex.com>
Tue, 23 Sep 2008 07:08:45 +0000 (00:08 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 11 Oct 2008 15:18:56 +0000 (16:18 +0100)
commitb67b2b703047bfaf62687ca64c9486599b609ef0
treeae9eee050db78869d62c5ca85953d0c1b93639f3
parent654f57bfb467996fb730eae96dc30ea4de989fdc
MIPS: Watch exception handling for HARDWARE_WATCHPOINTS.

Here we hook up the watch exception handler so that it sends SIGTRAP when
the hardware watch registers are triggered.

Signed-off-by: David Daney <ddaney@avtrex.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/genex.S
arch/mips/kernel/traps.c