summaryrefslogtreecommitdiff
path: root/lib/rwsem-spinlock.c
diff options
context:
space:
mode:
authorJohannes Weiner <[hannes@cmpxchg.org]>2009-08-12 01:52:10 +0400
committerFenghua Yu <fenghua.yu@intel.com>2009-08-12 01:52:10 +0400
commit8d6f9af91959256244878cd801c1c969e66cd093 (patch)
treebd1dde34d4a3ef472d0a35d05b11320f762fd51f /lib/rwsem-spinlock.c
parent51b89f7a6615eca184aa0b85db5781d931e9c8d1 (diff)
downloadlinux-8d6f9af91959256244878cd801c1c969e66cd093.tar.xz
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>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions