diff mbox

kvm-kmod: x86: Define CONFIG_HAVE_KVM_EVENTFD when missing

Message ID 4A17052E.9030302@web.de (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka May 22, 2009, 8:03 p.m. UTC
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

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

Comments

Avi Kivity May 24, 2009, 8:23 a.m. UTC | #1
Jan Kiszka wrote:
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>
>  x86/external-module-compat.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
> index a9476ff..d74aaaa 100644
> --- a/x86/external-module-compat.h
> +++ b/x86/external-module-compat.h
> @@ -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)
diff mbox

Patch

diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index a9476ff..d74aaaa 100644
--- a/x86/external-module-compat.h
+++ b/x86/external-module-compat.h
@@ -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