]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e3705f36cc5b99a1dd2700c406be97725277b0a
tree7d2bcea5f8bfc5bdc8bbe0a525ab7359e6721a25
parente28f7ccee63d08cf836d8dc93b8edbaa3a44c029
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