Re: [tip:x86/hyperv] X86: Handle Hyper-V vmbus interrupts as specialhypervisor interrupts
From: H. Peter Anvin
Date: Tue Feb 12 2013 - 22:47:37 EST
On 02/12/2013 07:32 PM, KY Srinivasan wrote:
+apicinterrupt HYPERVISOR_CALLBACK_VECTOR \
+ hyperv_callback_vector hyperv_vector_handler
+#endif /* CONFIG_HYPERV */
so #ifdef CONFIG_HYPERV does not work here?
The issue was that you could turn on CONFIG_HYPERV without enabling
CONFIG_X86_LOCAL_APIC. Peter fixed it.
He is asking why you are using IS_ENABLED() instead of #ifdef. The
difference is that IS_ENABLED() works even for modules.
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/