]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 21 Apr 2016 13:20:21 +0000 (07:20 -0600)
commit7dfbe7f4fe0533dacad7ab8598462c2f776a9b2e
tree792f42593867cf708ae39b0c449058d61dbc76be
parent3cc69ab8f84111c0777ce32c9d1b7a186694823f
parisc: Avoid function pointers for kernel exception routines

BugLink: http://bugs.launchpad.net/bugs/1573034
commit e3893027a300927049efc1572f852201eb785142 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/parisc/kernel/parisc_ksyms.c