summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/mshyperv.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-03-04 23:39:58 +0100
committerThomas Gleixner <tglx@linutronix.de>2014-03-04 23:41:44 +0100
commit3c433679ab666fb76a9399679819a303989e8ead (patch)
tree7a822a8035b7bb27a655485b50c0931b18d85a02 /arch/x86/kernel/cpu/mshyperv.c
parentd20d2efbf227042920d386b8eda878815f63c987 (diff)
x86: hyperv: Make it build with CONFIG_HYPERV=m again
Commit 1aec16967 (x86: Hyperv: Cleanup the irq mess) removed the ability to build the hyperv stuff as a module. Bring it back. Reported-by: fengguang.wu@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linuxdrivers <devel@linuxdriverproject.org> Cc: x86 <x86@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/mshyperv.c')
-rw-r--r--arch/x86/kernel/cpu/mshyperv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index 1bd316cd32c8..316e106e26f0 100644
--- a/arch/x86/kernel/cpu/mshyperv.c
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -31,7 +31,7 @@
struct ms_hyperv_info ms_hyperv;
EXPORT_SYMBOL_GPL(ms_hyperv);
-#ifdef CONFIG_HYPERV
+#if IS_ENABLED(CONFIG_HYPERV)
static irq_handler_t *vmbus_handler;
void hyperv_vector_handler(struct pt_regs *regs)