summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-08-21 09:26:15 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-08-21 09:26:15 -0700
commitf4b0373b26567cafd421d91101852ed7a34e9e94 (patch)
tree35607b1c1d28429bb275ca3472cd0065fbde2f14 /arch/sh
parent83d349f35e1ae72268c5104dbf9ab2ae635425d4 (diff)
downloadop-kernel-dev-f4b0373b26567cafd421d91101852ed7a34e9e94.zip
op-kernel-dev-f4b0373b26567cafd421d91101852ed7a34e9e94.tar.gz
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 'arch/sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud