linux/arch/parisc/mm
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>
History 2016-04-20 15:41:52 +09:00
..
fault.c parisc: Unbreak handling exceptions from kernel modules 2016-04-20 15:41:52 +09:00
hugetlbpage.c parisc: Protect huge page pte changes with spinlocks 2016-02-17 12:30:57 -08:00
init.c Merge branch 'parisc-4.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2015-11-22 12:50:58 -08:00
ioremap.c parisc: fix wrong page aligned size calculation in ioremapping code 2010-08-12 08:43:29 -07:00
Makefile parisc: Add Huge Page and HUGETLBFS support 2015-11-22 12:23:10 +01:00