diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-21 09:26:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-21 09:26:15 -0700 |
commit | f4b0373b26567cafd421d91101852ed7a34e9e94 (patch) | |
tree | 35607b1c1d28429bb275ca3472cd0065fbde2f14 /ipc | |
parent | 83d349f35e1ae72268c5104dbf9ab2ae635425d4 (diff) | |
download | linux-3.10-f4b0373b26567cafd421d91101852ed7a34e9e94.tar.gz linux-3.10-f4b0373b26567cafd421d91101852ed7a34e9e94.tar.bz2 linux-3.10-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 'ipc')
0 files changed, 0 insertions, 0 deletions