summaryrefslogtreecommitdiffstats
path: root/drivers/xen/events
diff options
context:
space:
mode:
authorFrediano Ziglio <frediano.ziglio@citrix.com>2014-07-31 16:22:26 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2014-07-31 17:59:18 +0100
commite4a7431240e0e4230bb4e2e05ccf413325a60e88 (patch)
treeb5f3e5244e42365a0f2119d54a2047276ecf0d9c /drivers/xen/events
parentdcecb8fd93a65787130a74e61fdf29932c8d85eb (diff)
downloadblackbird-op-linux-e4a7431240e0e4230bb4e2e05ccf413325a60e88.tar.gz
blackbird-op-linux-e4a7431240e0e4230bb4e2e05ccf413325a60e88.zip
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/events')
-rw-r--r--drivers/xen/events/events_fifo.c2
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)
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);
}
OpenPOWER on IntegriCloud