parisc: Avoid function pointers for kernel exception routines
authorHelge Deller <deller@gmx.de>
Fri, 8 Apr 2016 16:11:33 +0000 (18:11 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 20 Apr 2016 05:08:54 +0000 (01:08 -0400)
commit073cac90966d106bd0959dd44170ab73482f7ef5
tree8b5794d15134f0e76b85acf2e30bf9dd9dee0998
parent7227a0df99e50b2c5150e2fe0203e605a9d03033
parisc: Avoid function pointers for kernel exception routines

[ Upstream commit e3893027a300927049efc1572f852201eb785142 ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/parisc/kernel/parisc_ksyms.c