linux/arch/parisc/include
Helge Deller 9bd5af8457 parisc: Unbreak handling exceptions from kernel modules
[ Upstream commit 2ef4dfd9d9 ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-20 09:40:59 -04:00
..
asm parisc: Unbreak handling exceptions from kernel modules 2016-04-20 09:40:59 -04:00
uapi/asm parisc: Fix __ARCH_SI_PREAMBLE_SIZE 2016-02-09 22:56:37 -05:00