lkml.org 
[lkml]   [2006]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Add SA_PERCPU_IRQ flag support
    On Sat, Mar 18, 2006 at 01:49:00AM -0800, Andrew Morton wrote:
    > Andrew Morton <akpm@osdl.org> wrote:
    > >
    > > +#ifdef ARCH_HAS_IRQ_PER_CPU
    > > + if (new->flags & SA_PERCPU_IRQ)
    > > + desc->status |= IRQ_PER_CPU;
    > > +#endif
    >
    > OK, five architectures define ARCH_HAS_IRQ_PER_CPU but only one of them
    > defines SA_PERCPU_IRQ. Giving up.

    Could we do the following (at least for now)?:

    +#if defined(ARCH_HAS_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ)
    + if (new->flags & SA_PERCPU_IRQ)
    + desc->status |= IRQ_PER_CPU;
    +#endif
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-20 15:21    [W:2.593 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site