From 108b48db92cd7f77a1ee0d46c347301dbedbd0eb Mon Sep 17 00:00:00 2001 From: Jack Vogel Date: Sun, 22 Jan 2017 20:41:28 -0800 Subject: [PATCH] Add access to x86_msi for Hyper-V PCI driver The backport of the Hyper-V PCI driver requires it have access to the kernel x86_msi structure. This is a temporary backport need only. Orabug: 25507635 Signed-off-by: Jack Vogel Signed-off-by: Dhaval Giani --- arch/x86/kernel/x86_init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 234b0722de53..cee0832a95c2 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c @@ -117,6 +117,10 @@ struct x86_msi_ops x86_msi = { .restore_msi_irqs = default_restore_msi_irqs, .setup_hpet_msi = default_setup_hpet_msi, }; +/* This export is UEK-only for Hyper-V PCI driver + * support, and is not to be carried forward. + */ +EXPORT_SYMBOL_GPL(x86_msi); /* MSI arch specific hooks */ int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) -- 2.50.1