parisc: Fix exported address of os_hpmc handler
authorHelge Deller <deller@gmx.de>
Sun, 14 Oct 2018 19:58:00 +0000 (21:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:14:46 +0000 (11:14 -0800)
commitd665f97f859a355618653c016c824e82ec29d288
tree6a38e955f04da347f01d98c1d405e8668fcc1fa6
parente5475f5fc5f881d547a16cc7c1249e50a48a1a80
parisc: Fix exported address of os_hpmc handler

commit 99a3ae51d557d8e38a7aece65678a31f9db215ee upstream.

In the C-code we need to put the physical address of the hpmc handler in
the interrupt vector table (IVA) in order to get HPMCs working.  Since
on parisc64 function pointers are indirect (in fact they are function
descriptors) we instead export the address as variable and not as
function.

This reverts a small part of commit f39cce654f9a ("parisc: Add
cfi_startproc and cfi_endproc to assembly code").

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> [4.9+]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/hpmc.S