summaryrefslogtreecommitdiffstats
path: root/include/rxrpc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-08-21 18:26:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-08-21 18:26:15 +0200
commitf4b0373b26567cafd421d91101852ed7a34e9e94 (patch)
tree35607b1c1d28429bb275ca3472cd0065fbde2f14 /include/rxrpc
parentx86: don't send an IPI to the empty set of CPU's (diff)
downloadlinux-f4b0373b26567cafd421d91101852ed7a34e9e94.tar.xz
linux-f4b0373b26567cafd421d91101852ed7a34e9e94.zip
Make bitmask 'and' operators return a result code
When 'and'ing two bitmasks (where 'andnot' is a variation on it), some cases want to know whether the result is the empty set or not. In particular, the TLB IPI sending code wants to do cpumask operations and determine if there are any CPU's left in the final set. So this just makes the bitmask (and cpumask) functions return a boolean for whether the result has any bits set. Cc: stable@kernel.org (2.6.30, needed by TLB shootdown fix) Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/rxrpc')
0 files changed, 0 insertions, 0 deletions