]> 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)
commitfaaf89c8bbf4a5f93c5943b33ed43354d5f91775
tree1fea4c08b58d175328176b5d297c44651ac532ae
parent8bd2afee5e4a04025ccecf89276428ba75d659c1
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