|
@@ -59,8 +59,6 @@ void hyperv_vector_handler(struct pt_regs *regs)
|
|
|
void hv_setup_vmbus_irq(void (*handler)(void))
|
|
|
{
|
|
|
vmbus_handler = handler;
|
|
|
- /* Setup the IDT for hypervisor callback */
|
|
|
- alloc_intr_gate(HYPERVISOR_CALLBACK_VECTOR, hyperv_callback_vector);
|
|
|
}
|
|
|
|
|
|
void hv_remove_vmbus_irq(void)
|
|
@@ -251,6 +249,8 @@ static void __init ms_hyperv_init_platform(void)
|
|
|
*/
|
|
|
x86_platform.apic_post_init = hyperv_init;
|
|
|
hyperv_setup_mmu_ops();
|
|
|
+ /* Setup the IDT for hypervisor callback */
|
|
|
+ alloc_intr_gate(HYPERVISOR_CALLBACK_VECTOR, hyperv_callback_vector);
|
|
|
#endif
|
|
|
}
|
|
|
|