lkml.org 
[lkml]   [2017]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH V8 1/3] irq: Add flags to request_percpu_irq function
    From
    Date
    On 03/23/2017 10:42 AM, Daniel Lezcano wrote:
    > In the next changes, we track the interrupts but we discard the timers as
    > that does not make sense. The next interrupt on a timer is predictable.
    >
    > But, the API request_percpu_irq does not allow to pass a flag, hence specifying
    > if the interrupt type is a timer.
    >
    > Solve this by passing a 'flags' parameter to the function and change all the
    > callers to pass IRQF_TIMER when the interrupt is a timer interrupt, zero
    > otherwise.
    >
    > For now, in order to prevent a misusage of this parameter, only the IRQF_TIMER
    > flag is a valid parameter to be passed to the request_percpu_irq function.
    >
    > Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

    Acked-by: Vineet Gupta <vgupta@synopsys.com> # for arch/arc, arc_timer bits

    \
     
     \ /
      Last update: 2017-03-23 19:35    [W:4.330 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site