[BUGFIX]: 2.1.117 has a small bug

David Howells (dwh@nexor.co.uk)
Mon, 24 Aug 1998 09:15:01 +0100


In file linux/include/asm-i386/bitops.h:

The following macro:

#define test_bit(nr,addr) \ (__builtin_constant_p(nr) ? \
__constant_test_bit((nr),(addr)) : \
__test_bit((nr),(addr)))

Should read:

#define test_bit(nr,addr) \ (__builtin_constant_p(addr) ? \
__constant_test_bit((nr),(addr)) : \
__test_bit((nr),(addr)))

Otherwise the 'constantness' of the bit number is keyed upon, rather than the
addressed location.

David Howells

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html