Re: [PATCH 5/7] I/OAT: Add support for MSI and MSI-X

From: David Miller
Date: Thu Jul 19 2007 - 20:52:28 EST


From: Shannon Nelson <shannon.nelson@xxxxxxxxx>
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@xxxxxxxxx>

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

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/