]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Avoid function pointers for kernel exception routines
authorHelge Deller <deller@gmx.de>
Fri, 8 Apr 2016 16:11:33 +0000 (18:11 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 8 Apr 2016 20:13:45 +0000 (22:13 +0200)
commit6a98d1138ff72f812e81bd7293bed4a6a54a3b9c
tree19d418fb5ae91ca89da29261c6a6aaf10cfb74d6
parent2d2b4ef88f7386eaded4f06ac6d275fbfda40a49
parisc: Avoid function pointers for kernel exception routines

We want to avoid the kernel module loader to create function pointers
for the kernel fixup routines of get_user() and put_user(). Changing
the external reference from function type to int type fixes this.

This unbreaks exception handling for get_user() and put_user() when
called from a kernel module.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
arch/parisc/kernel/parisc_ksyms.c