]> git.baikalelectronics.ru Git - kernel.git/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)
commit4ab88c92a08ec143a576e05cd70adb1a77383b11
tree1fea4c08b58d175328176b5d297c44651ac532ae
parent7926f643147df5d99bfbcf2798ef23199365c3d2
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