Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c433679 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86: hyperv: Make it build with CONFIG_HYPERV=m again



Commit 1aec1696 (x86: Hyperv: Cleanup the irq mess) removed the
ability to build the hyperv stuff as a module. Bring it back.

Reported-by: default avatar <fengguang.wu@intel.com>
Signed-off-by: default avatarThomas 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>
parent d20d2efb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -31,7 +31,7 @@
struct ms_hyperv_info ms_hyperv;
struct ms_hyperv_info ms_hyperv;
EXPORT_SYMBOL_GPL(ms_hyperv);
EXPORT_SYMBOL_GPL(ms_hyperv);


#ifdef CONFIG_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)
void hyperv_vector_handler(struct pt_regs *regs)