summaryrefslogtreecommitdiff
path: root/include/linux/user_namespace.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-08-21 09:26:15 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-08 20:33:14 -0700
commita2e92be0bd1e4b4c34b52e413dee30efa204d1d6 (patch)
tree49938f94c6a13bd5b279741546a1c32f4a228aaa /include/linux/user_namespace.h
parent5638301d05015b68a5577bdf9c61813b3839fa1c (diff)
Make bitmask 'and' operators return a result code
commit f4b0373b26567cafd421d91101852ed7a34e9e94 upstream. 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. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/user_namespace.h')
0 files changed, 0 insertions, 0 deletions