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