Please pull xen-ia64-unstable
Quoted 12 lines
From: Keir Fraser
Okay, pulled through. I noticed that the event-channel interfaces still cause problems (bind_virq_to_irqin particular). I've had another go at rationalising the binding interface in light of this, so you now need to implement:
bind_evtchn_to_irq--- same as it ever wasbind_virq_to_irqhandler--- replacesbind_virq_to_irqbind_ipi_to_irqhandler--- replacesbind_ipi_to_irqunbind_from_irqhandler--- common unbind function that replacesunbind_evtchn_from_irqhandler,unbind_virq_from_irqandunbind_ipi_from_irq
Quoted 1 line
This interface eliminates all evtchn-related ia64 ifdefs in common
code.
Quoted 2 lines
-- Keir
Keir, thanks for your change on that which does clear things a lot for us. On IA64, there's no callback implemented and all the events are bound to single physical irq vector. In that case, evtchn equals to 'irq' and bind_evtchn_to_irq can simply return evtchn directly for IA64. So it's good to see above new interfaces hiding evtchn<->irq relationship behind.
Thanks,
Kevin