xen/events: introduce test_and_set_mask()
authorWei Liu <wei.liu2@citrix.com>
Thu, 7 Mar 2013 15:50:27 +0000 (15:50 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jan 2014 15:07:35 +0000 (10:07 -0500)
commit3f70fa828249e3f37883be98f5b4d08e947f55b0
tree2e4d738d40aea11c302b40a31e121a23c9f6bbcc
parentfc087e10734a4d3e40693fc099461ec1270b3fff
xen/events: introduce test_and_set_mask()

In preparation for adding event channel port ops, add
test_and_set_mask().

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/events.c