Re: [patch 11/44] generic find_{next,first}{,_zero}_bit()

From: Akinobu Mita
Date: Mon Feb 06 2006 - 21:00:31 EST


On Mon, Feb 06, 2006 at 10:26:00AM +0000, David Howells wrote:
> Akinobu Mita <mita@xxxxxxxxxxxxxxxx> wrote:
>
> > This patch introduces the C-language equivalents of the functions below:
> >
> > unsigned logn find_next_bit(const unsigned long *addr, unsigned long size,
> > unsigned long offset);
> > unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size,
> > unsigned long offset);
> > unsigned long find_first_zero_bit(const unsigned long *addr,
> > unsigned long size);
> > unsigned long find_first_bit(const unsigned long *addr, unsigned long size);
>
> These big functions should perhaps be out of line.

Yes. I'll make them and below out of line.

- hweight*()
- ext2_find_*_zero_bit()
- minix_find_first_zero_bit()
-
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/