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

David Howells
2006-02-06T10:26:00Z

Akinobu Mita <mita@miraclelinux.com> 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.

David