OpenCloudOS-Kernel/arch/parisc/include
Helge Deller 2ef4dfd9d9 parisc: Unbreak handling exceptions from kernel modules
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>
Cc: stable@vger.kernel.org
2016-04-08 22:14:14 +02:00
..
asm parisc: Unbreak handling exceptions from kernel modules 2016-04-08 22:14:14 +02:00
uapi/asm parisc: Wire up preadv2 and pwritev2 syscalls 2016-03-23 16:22:42 +01:00