Re: [PATCH] Bit operations

From: Andrew Morton
Date: Thu Nov 11 2004 - 15:34:29 EST


David Howells <dhowells@xxxxxxxxxx> wrote:
>
>
> Hi Andrew,
>
> > The attached patch provides an out-of-line implementation of find_next_bit()
> > and rearranges linux/bitops.h to avoid a dependency loop between inline
> > functions in there and in asm/bitops.h trying to include one another.
>
> Is there any reason you dropped the part of this patch that rearranged
> linux/bitops.h? asm/bitops.h may need generic_ffs() for implementing
> sched_find_first_bit(), and obviously asm/bitops.h can't include
> linux/bitops.h.

I was doing a reject fixup and restored the thing back in what seemed a
better place. Of course, had it been commented, that wouldn't have
happened. It is commented now.

-
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/