]> 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)
commitc054575921128dedee5597788a358b1ed3fa417f
tree7d2bcea5f8bfc5bdc8bbe0a525ab7359e6721a25
parentcf7a21b3fd1e25a234d6446b2102f9b1e6c3fde3
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