]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Hyper-V Host driver requires apic access
authorJack Vogel <jack.vogel@oracle.com>
Mon, 23 Jan 2017 04:36:22 +0000 (20:36 -0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Tue, 7 Mar 2017 23:44:29 +0000 (18:44 -0500)
The port of the Hyper-V PCI host driver to UEK requires its
access to the apic_set_affinity() function, this is due to
backporting issues, and is not something to be carried forward.

Orabug: 25507635
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
arch/x86/kernel/apic/vector.c

index 6cedd79145813cc792c891573ac03b3e18d9e529..78497c2e90150caa23403e795e5e02b180a35c55 100644 (file)
@@ -373,6 +373,11 @@ int apic_set_affinity(struct irq_data *data, const struct cpumask *mask,
 
        return 0;
 }
+/*
+ *  This export is UEK-only for Hyper-V PCI pass-through driver,
+ *  do not add this function to kABI whitelist.
+ */
+EXPORT_SYMBOL_GPL(apic_set_affinity);
 
 #ifdef CONFIG_SMP
 void send_cleanup_vector(struct irq_cfg *cfg)