Skip to content

Commit

Permalink
xen/events/fifo: remove a unecessary use of BM()
Browse files Browse the repository at this point in the history
Since 05a812a (xen/events/fifo:
correctly align bitops), ready is an unsigned long instead of uint32_t
and the BM() macro is no longer required.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
  • Loading branch information
Frediano Ziglio authored and David Vrabel committed Jul 31, 2014
1 parent dcecb8f commit e4a7431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/events/events_fifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ static void evtchn_fifo_handle_events(unsigned cpu)
ready = xchg(&control_block->ready, 0);

while (ready) {
q = find_first_bit(BM(&ready), EVTCHN_FIFO_MAX_QUEUES);
q = find_first_bit(&ready, EVTCHN_FIFO_MAX_QUEUES);
consume_one_event(cpu, control_block, q, &ready);
ready |= xchg(&control_block->ready, 0);
}
Expand Down

0 comments on commit e4a7431

Please sign in to comment.