Re: [PATCH 05/11] drivers: hv: Export vmbus_interrupt for mshv_vtl module

From: Naman Jain

Date: Mon Apr 13 2026 - 07:47:16 EST




On 4/1/2026 10:26 PM, Michael Kelley wrote:
From: Naman Jain <namjain@xxxxxxxxxxxxxxxxxxx> Sent: Monday, March 16, 2026 5:13 AM


Nit: For the patch Subject, capitalize "Drivers:" in the prefix.

Acked.

Thanks,
Naman


vmbus_interrupt is used in mshv_vtl_main.c to set the SINT vector.
When CONFIG_MSHV_VTL=m and CONFIG_HYPERV_VMBUS=y (built-in), the module
cannot access vmbus_interrupt at load time since it is not exported.

Export it using EXPORT_SYMBOL_FOR_MODULES consistent with the existing
pattern used for vmbus_isr.

Signed-off-by: Naman Jain <namjain@xxxxxxxxxxxxxxxxxxx>
---
drivers/hv/vmbus_drv.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index f99d4f2d3862..de191799a8f6 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -57,6 +57,7 @@ static DEFINE_PER_CPU(long, vmbus_evt);
/* Values parsed from ACPI DSDT */
int vmbus_irq;
int vmbus_interrupt;
+EXPORT_SYMBOL_FOR_MODULES(vmbus_interrupt, "mshv_vtl");

/*
* If the Confidential VMBus is used, the data on the "wire" is not
--
2.43.0


Reviewed-by: Michael Kelley <mhklinux@xxxxxxxxxxx>