Skip to contentSkip to conversation

kvm-kmod: x86: Define CONFIG_HAVE_KVM_EVENTFD when missing

PATCH In review Jan Kiszka 2 participants 2 messages May 22, 2009 – May 24, 2009 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 kvm-kmod: x86: Define CONFIG_HAVE_KVM_EVENTFD when missing

---

 x86/external-module-compat.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
x86/external-module-compat.h +4 -0
index a9476ff..d74aaaa 100644
@@ -531,3 +531,7 @@ typedef u64 phys_addr_t;
 #ifndef CONFIG_HAVE_KVM_IRQCHIP
 #define CONFIG_HAVE_KVM_IRQCHIP 1
 #endif
+
+#ifndef CONFIG_HAVE_KVM_EVENTFD
+#define CONFIG_HAVE_KVM_EVENTFD 1
+#endif
#1 lore raw
Quoted 12 lines · Jan Kiszka

---

 x86/external-module-compat.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
x86/external-module-compat.h +0 -0
index a9476ff..d74aaaa 100644

x86/external-module-compat.h typedef u64 phys_addr_t; · line 537

Quoted 7 lines
x86/external-module-compat.h +4 -0
@@ -531,3 +531,7 @@ typedef u64 phys_addr_t;
 #ifndef CONFIG_HAVE_KVM_IRQCHIP
 #define CONFIG_HAVE_KVM_IRQCHIP 1
 #endif
+
+#ifndef CONFIG_HAVE_KVM_EVENTFD
+#define CONFIG_HAVE_KVM_EVENTFD 1
+#endif

I already have this, just forgot to push. Sorry.

(a good thing anyway since I forgot the #ifndef)

Signature · 1 line
error compiling committee.c: too many arguments to function