MIPS: traps: Set correct address limit for breakpoints and traps
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Wed, 4 Dec 2013 16:39:34 +0000 (16:39 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:13 +0000 (23:09 +0100)
commit078dde5e21dba9f4186ebfc2aef06341fd20efb4
tree7d2bcea5f8bfc5bdc8bbe0a525ab7359e6721a25
parentb08a9c95f80f2f760f62d70fcd5a869c425d17b6
MIPS: traps: Set correct address limit for breakpoints and traps

When a breakpoint or trap happens when operating in kernel mode but
on users behalf (eg syscall) it is necessary to change the address
limit to KERNEL_DS so any address checking can be bypassed and print
the correct stack trace.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/kernel/traps.c