Is it safe to use these Linux function (test_bit(), set_bit(), clear_bit()) in character device driver for 2.6.10 ppc kernel.

Scott Wood scottwood at freescale.com
Fri Sep 28 02:04:19 EST 2007


Misbah khan wrote:
> Hi all I am using "test_bit(),set_bit(),clear_bit() etc" API functions 
> provided by the Linux kernel. I want to know that if anybody is used it 
> and have full faith in its operation then please let me know. Driver in 
> the while loop is calling these API's hence i want to make sure that its 
> operation will remain stable.

They're used all over the place.  Is there anything about them that you 
find suspect?

-Scott


More information about the Linuxppc-embedded mailing list