]> git.baikalelectronics.ru Git - kernel.git/commit
ia64: boolean __test_and_clear_bit
authorJohannes Weiner <[hannes@cmpxchg.org]>
Tue, 11 Aug 2009 21:52:10 +0000 (14:52 -0700)
committerFenghua Yu <fenghua.yu@intel.com>
Tue, 11 Aug 2009 21:52:10 +0000 (14:52 -0700)
commita57d8c9525ee7e9b68dbc386c47b0cb1d36804c2
treebd1dde34d4a3ef472d0a35d05b11320f762fd51f
parentcc51d496e4b36896f012f818421e8b63ff843ffa
ia64: boolean __test_and_clear_bit

__test_and_clear_bit() returns a bitfield with the tested-for bit set.
Make it consistent with the other bitops - of ia64 but also every
other architecture - and return a boolean value.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Fenghua Yu <fenghua.yu@intel.com>
arch/ia64/include/asm/bitops.h