Skip to contentSkip to conversation

ARM: test_and_set_bit

U-Boot-Users Scott McNutt 1 participant 1 message Mar 6, 2008

lore
Share & tools
lore
#0 lore raw

In asm-arm/bitops.h:

The test_and_set_bit() function is declared, but not implemented inline as in other architectures. However, the function __test_and_set_bit() is defined (inline) but never referenced.

From a practical point-of-view, this only appears to affect
ext2_set_bit() as used in net/tftp.c for Multicast TFTP.

Does anyone see any reason why we can't just remove the leading underscores for the __test_and_xxx_bit routines in asm-arm/bitops.h ? i.e. is this just an oversight? ... or is there some other motivation that I don't understand (yet)? ;-)

Regards,
--Scott