lkml.org 
[lkml]   [2007]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 5/7] I/OAT: Add support for MSI and MSI-X
    From
    From: Shannon Nelson <shannon.nelson@intel.com>
    Date: Thu, 19 Jul 2007 17:45:12 -0700

    > Add support for MSI and MSI-X interrupt handling, including the ability
    > to choose the desired interrupt method.
    >
    > Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>

    Acked-by: David S. Miller <davem@davemloft.net>

    But:

    > +#define for_each_bit(bit, addr, size) \
    > + for ((bit) = find_first_bit((addr), (size)); \
    > + (bit) < (size); \
    > + (bit) = find_next_bit((addr), (size), (bit) + 1))

    This or something like it is codified in a few spots now,
    namely now here and cpumask.h, it would be nice to have
    this in some standard place.
    -
    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: 2007-07-20 02:55    [W:0.018 / U:30.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site