> /usr/include/asm/bitops.h -- eg, set_bit, clear_bit, test_bit. Take
> an argument of a pointer to the long to operate on. If it points to a
> char, they may work for little endian, but not for middle/big endian.
It's worse, on some architectures applying bitops to a char may result in
feeding functions that can only operate on correctly aligned operands
with bad addresses.
Ralf
-
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