linux/arch/parisc
Helge Deller 4d6deebe06 parisc: Unbreak handling exceptions from kernel modules
commit 2ef4dfd9d9 upstream.

Handling exceptions from modules never worked on parisc.
It was just masked by the fact that exceptions from modules
don't happen during normal use.

When a module triggers an exception in get_user() we need to load the
main kernel dp value before accessing the exception_data structure, and
afterwards restore the original dp value of the module on exit.

Noticed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-20 15:41:52 +09:00
..
configs rtmutex: Delete scriptable tester 2015-07-20 11:45:45 +02:00
include parisc: Unbreak handling exceptions from kernel modules 2016-04-20 15:41:52 +09:00
kernel parisc: Unbreak handling exceptions from kernel modules 2016-04-20 15:41:52 +09:00
lib parisc: Unbreak handling exceptions from kernel modules 2016-04-20 15:41:52 +09:00
math-emu
mm parisc: Unbreak handling exceptions from kernel modules 2016-04-20 15:41:52 +09:00
oprofile
defpalo.conf
install.sh
Kconfig parisc: Add Huge Page and HUGETLBFS support 2015-11-22 12:23:10 +01:00
Kconfig.debug
Makefile
nm