]> Pileus Git - ~andy/linux/commit
xen/events: document behaviour when scanning the start word for events
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 15 Aug 2013 12:21:05 +0000 (13:21 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 20 Aug 2013 14:15:28 +0000 (10:15 -0400)
commit3ef0296a0b77d70585e23be93a5144e764a2781e
tree1fea4c08b58d175328176b5d297c44651ac532ae
parente201bfcc5c4fe6d58ce2b21fb4f4c2a2f0ab7ab8
xen/events: document behaviour when scanning the start word for events

The original comment on the scanning of the start word on the 2nd pass
did not reflect the actual behaviour (the code was incorrectly masking
bit_idx instead of the pending word itself).

The documented behaviour is not actually required since if event were
pending in the MSBs, they would be immediately scanned anyway as we go
through the loop again.

Update the documentation to reflect this (instead of trying to change
the behaviour).

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