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)
commit8d6f9af91959256244878cd801c1c969e66cd093
treebd1dde34d4a3ef472d0a35d05b11320f762fd51f
parent51b89f7a6615eca184aa0b85db5781d931e9c8d1
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