lkml.org 
[lkml]   [2014]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] genirq: fix symbol export for __irq_set_affinity
On Thu, 18 Dec 2014, Jesse Brandeburg wrote:

> The function __irq_set_affinity is referenced by interrupt.h
> with static inlines, but if you try to use one of the inlines
> in interrupt.h (for instance to call irq_set_affinity) then
> compile fails due to a missing symbol, when building modules.
>
> Enabling this function means that kernel drivers can include
> an initial affinity setting for the interrupt, instead of all
> interrupts starting out life on CPU0. It seems to have just
> been an oversight that it was not included.
>
> This function and the helpers that call it from interrupt.h were
> already in the kernel API, but if used would then fail to compile
> due to the lack of an export even though already defined via extern.

And why needs this to be called from modules? Just because or is there
a legitimate reason? IOW, you forgot to describe the actual usecase.

Thanks,

tglx


\
 
 \ /
  Last update: 2014-12-19 00:21    [W:0.039 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site