xen: events: Clean up round-robin evtchn scan.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 3 Mar 2011 10:01:11 +0000 (10:01 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 10 Mar 2011 19:47:57 +0000 (14:47 -0500)
commitada6814c878c4d95fc8ca1402e49effbf3cc319a
treec78472cc7d08176e9d03533e7a666f4e8d73b09e
parentf1f4a323d46c90632a4d35d34f1d347ca7cb65f5
xen: events: Clean up round-robin evtchn scan.

Also fixes a couple of boundary cases.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
[ijc: forward ported from linux-2.6.18-xen.hg 988:c88a02a22a05]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c