Skip to content
Snippets Groups Projects
  • Helge Deller's avatar
    99a3ae51
    parisc: Fix exported address of os_hpmc handler · 99a3ae51
    Helge Deller authored
    
    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 f39cce65 ("parisc: Add
    cfi_startproc and cfi_endproc to assembly code").
    
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    Cc: <stable@vger.kernel.org>    [4.9+]
    99a3ae51
    History
    parisc: Fix exported address of os_hpmc handler
    Helge Deller authored
    
    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 f39cce65 ("parisc: Add
    cfi_startproc and cfi_endproc to assembly code").
    
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    Cc: <stable@vger.kernel.org>    [4.9+]
Code owners
Assign users and groups as approvers for specific file changes. Learn more.