EXPORT_SYMBOL_GPL(ms_hyperv);
#if IS_ENABLED(CONFIG_HYPERV)
-static irq_handler_t *vmbus_handler;
+static irq_handler_t vmbus_handler;
void hyperv_vector_handler(struct pt_regs *regs)
{
set_irq_regs(old_regs);
}
-int hv_setup_vmbus_irq(int irq, irq_handler_t *handler, void *dev_id)
+int hv_setup_vmbus_irq(int irq, irq_handler_t handler, void *dev_id)
{
vmbus_handler = handler;
/*
hyperv_callback_vector);
}
-void hv_remove_vmbus_irq(unsigned int irq, void *dev_id)
+void hv_remove_vmbus_irq(int irq, void *dev_id)
{
/* We have no way to deallocate the interrupt gate */
vmbus_handler = NULL;