From: Jack Vogel Date: Mon, 23 Jan 2017 04:36:22 +0000 (-0800) Subject: Hyper-V Host driver requires apic access X-Git-Tag: v4.1.12-98.0.20170517_2143~42^2~254 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=eedfd0d5cff2034c714cf694997b95c9c018caf3;p=users%2Fjedix%2Flinux-maple.git Hyper-V Host driver requires apic access 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 Signed-off-by: Dhaval Giani --- diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c index 6cedd79145813..78497c2e90150 100644 --- a/arch/x86/kernel/apic/vector.c +++ b/arch/x86/kernel/apic/vector.c @@ -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)