xen_safe_halt();
}
-static const typeof(pv_ops) xen_irq_ops __initconst = {
- .irq = {
- /* Initial interrupt flag handling only called while interrupts off. */
- .save_fl = __PV_IS_CALLEE_SAVE(paravirt_ret0),
- .irq_disable = __PV_IS_CALLEE_SAVE(paravirt_nop),
- .irq_enable = __PV_IS_CALLEE_SAVE(BUG_func),
-
- .safe_halt = xen_safe_halt,
- .halt = xen_halt,
- },
-};
-
void __init xen_init_irq_ops(void)
{
- pv_ops.irq = xen_irq_ops.irq;
+ /* Initial interrupt flag handling only called while interrupts off. */
+ pv_ops.irq.save_fl = __PV_IS_CALLEE_SAVE(paravirt_ret0);
+ pv_ops.irq.irq_disable = __PV_IS_CALLEE_SAVE(paravirt_nop);
+ pv_ops.irq.irq_enable = __PV_IS_CALLEE_SAVE(BUG_func);
+ pv_ops.irq.safe_halt = xen_safe_halt;
+ pv_ops.irq.halt = xen_halt;
+
x86_init.irqs.intr_init = xen_init_IRQ;
}