lkml.org 
[lkml]   [2009]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] kernel/irq/handle.c fix kstat_irqs_cpu and irq_to_desc symbols v2
    On Mon, 16 Mar 2009, Mathieu Desnoyers wrote:

    > * Thomas Gleixner (tglx@linutronix.de) wrote:
    > > Is this a contribution to the "most useless patch of the week"
    > > contest ?
    > >
    > > You have my vote.
    > >
    >
    > Count mine too ! :) Actually, this was not what it should look like.
    > Here is my version. I am not totally convinced that the struct irq_desc
    > is absolutely required, but in some include orders, it might matter.

    I have not seen a compile failure report yet.

    > However, the #endif around the EXPORT_SYMBOL is definitely needed.

    Right.

    > struct irq_desc *desc = irq_to_desc(irq);
    > return desc ? desc->kstat_irqs[cpu] : 0;
    > }
    > -#endif
    > EXPORT_SYMBOL(kstat_irqs_cpu);
    > +#endif

    Thanks,

    tglx


    \
     
     \ /
      Last update: 2009-03-17 09:33    [W:0.020 / U:30.564 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site