]> asedeno.scripts.mit.edu Git - linux.git/commit
parisc: Fix exported address of os_hpmc handler
authorHelge Deller <deller@gmx.de>
Sun, 14 Oct 2018 19:58:00 +0000 (21:58 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 17 Oct 2018 06:18:01 +0000 (08:18 +0200)
commit99a3ae51d557d8e38a7aece65678a31f9db215ee
tree45858d34ed20e071d0e5e4e01b4b78563a9833a2
parent3c229b3f2dd8133f61bb81d3cb018be92f4bba39
parisc: Fix exported address of os_hpmc handler

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+]
arch/parisc/kernel/hpmc.S