[Devel] irq_remapping.h

gremlin at gremlin.ru gremlin at gremlin.ru
Fri Jan 13 01:34:54 PST 2017


--- arch/x86/include/asm/irq_remapping.h.orig   2016-11-29 18:35:47 +0300
+++ arch/x86/include/asm/irq_remapping.h        2017-01-13 12:28:13 +0300
@@ -110,7 +110,7 @@
        return false;
 }
 
-int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info)
+static inline int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info)
 {
        return -ENOSYS;
 }


Otherwise apic.o and io_apic.o have multiple definitions of it.


-- 
Alexey V. Vissarionov aka Gremlin from Kremlin
GPG: 8832FE9FA791F7968AC96E4E909DAC45EF3B1FA8
-------------- next part --------------
--- arch/x86/include/asm/irq_remapping.h.orig	2016-11-29 18:35:47 +0300
+++ arch/x86/include/asm/irq_remapping.h	2017-01-13 12:28:13 +0300
@@ -110,7 +110,7 @@
 	return false;
 }
 
-int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info)
+static inline int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info)
 {
 	return -ENOSYS;
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/devel/attachments/20170113/3a73915e/attachment.sig>


More information about the Devel mailing list