bitops porting question

Todd Inglett tinglett at vnet.ibm.com
Wed Nov 22 00:44:12 EST 2000


Todd Inglett wrote:
>
> Anyway, the gist of the problem is that when sizeof(int) != sizeof(long)
> the operations break down for one reason:  there is no test_bit()
> function.

For some dumb reason I didn't notice that there really *is* a
test_bit().  But not all code uses it :(.  For example, the b_state
flags in the generic block driver interface doesn't use it.

--
-todd

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list