diff options
author | Frediano Ziglio <frediano.ziglio@citrix.com> | 2014-07-31 11:22:26 -0400 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-07-31 12:59:18 -0400 |
commit | e4a7431240e0e4230bb4e2e05ccf413325a60e88 (patch) | |
tree | b5f3e5244e42365a0f2119d54a2047276ecf0d9c /drivers/xen | |
parent | dcecb8fd93a65787130a74e61fdf29932c8d85eb (diff) |
xen/events/fifo: remove a unecessary use of BM()
Since 05a812ac474d0d6aef6d54b66bb08b81abde79c6 (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>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/events/events_fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/events/events_fifo.c b/drivers/xen/events/events_fifo.c index 48dcb2e97b90..417415d738d0 100644 --- a/drivers/xen/events/events_fifo.c +++ b/drivers/xen/events/events_fifo.c | |||
@@ -330,7 +330,7 @@ static void evtchn_fifo_handle_events(unsigned cpu) | |||
330 | ready = xchg(&control_block->ready, 0); | 330 | ready = xchg(&control_block->ready, 0); |
331 | 331 | ||
332 | while (ready) { | 332 | while (ready) { |
333 | q = find_first_bit(BM(&ready), EVTCHN_FIFO_MAX_QUEUES); | 333 | q = find_first_bit(&ready, EVTCHN_FIFO_MAX_QUEUES); |
334 | consume_one_event(cpu, control_block, q, &ready); | 334 | consume_one_event(cpu, control_block, q, &ready); |
335 | ready |= xchg(&control_block->ready, 0); | 335 | ready |= xchg(&control_block->ready, 0); |
336 | } | 336 | } |