From e4a7431240e0e4230bb4e2e05ccf413325a60e88 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Thu, 31 Jul 2014 16:22:26 +0100 Subject: 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 Signed-off-by: David Vrabel Reviewed-by: Boris Ostrovsky --- drivers/xen/events/events_fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/xen/events') diff --git a/drivers/xen/events/events_fifo.c b/drivers/xen/events/events_fifo.c index 48dcb2e..417415d 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); } -- cgit v1.1