linux-sg2042/arch/parisc/lib
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
..
Makefile parisc: make udelay() SMP-safe 2013-11-07 22:28:26 +01:00
bitops.c Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
checksum.c parisc: remove CVS keywords 2009-07-03 03:34:06 +00:00
delay.c parisc: make udelay() SMP-safe 2013-11-07 22:28:26 +01:00
fixup.S parisc: Unbreak handling exceptions from kernel modules 2016-04-08 22:14:14 +02:00
io.c
iomap.c parisc: switch to GENERIC_PCI_IOMAP 2011-11-28 21:13:15 +02:00
lusercopy.S parisc: provide macro to create exception table entries 2013-11-07 22:25:33 +01:00
memcpy.c parisc: Replace __get_cpu_var uses for address calculation 2014-04-03 20:50:33 +02:00
memset.c
ucmpdi2.c parisc: Provide __ucmpdi2 to resolve undefined references in 32 bit builds. 2013-04-25 22:36:15 +02:00