Commit b7706a82 authored by Helge Deller's avatar Helge Deller Committed by Greg Kroah-Hartman

parisc: Fix exported address of os_hpmc handler

[ Upstream commit 99a3ae51d557d8e38a7aece65678a31f9db215ee ]

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

This reverts a small part of commit f39cce65 ("parisc: Add
cfi_startproc and cfi_endproc to assembly code").
Signed-off-by: default avatarHelge Deller <>
Cc: <>    [4.9+]
Signed-off-by: default avatarSasha Levin <>
parent 5a41c652
......@@ -84,7 +84,7 @@ END(hpmc_pim_data)
.import intr_save, code
.align 16
......@@ -301,7 +301,6 @@ os_hpmc_6:
b .
.align 16 /* make function length multiple of 16 bytes */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment