Both methods were using the wrong event word by using the port number as an
offset twice.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
event_word_t *EventWord;
EventWord = EvtchnFifoEventWord(Context, Port);
- __EvtchnFifoClearFlag(&EventWord[Port], EVTCHN_FIFO_PENDING);
+ __EvtchnFifoClearFlag(EventWord, EVTCHN_FIFO_PENDING);
}
static VOID
event_word_t *EventWord;
EventWord = EvtchnFifoEventWord(Context, Port);
- __EvtchnFifoSetFlag(&EventWord[Port], EVTCHN_FIFO_MASKED);
+ __EvtchnFifoSetFlag(EventWord, EVTCHN_FIFO_MASKED);
}
static BOOLEAN