Am 27.05.2011 19:22, schrieb Alexandre Raymond:
----8<----
qemu/target-s390x/helper.c:32:23: warning: linux/kvm.h: No such file or director
----8<----

kvm.h, which is included right after this line, already includes linux/kvm.h
with the proper CONFIG_KVM guard. Remove redundant include.

Signed-off-by: Alexandre Raymond <cerb...@gmail.com>
---
target-s390x/helper.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/target-s390x/helper.c b/target-s390x/helper.c
index c79af46..5dc42f1 100644
--- a/target-s390x/helper.c
+++ b/target-s390x/helper.c
@@ -29,7 +29,6 @@
#include "qemu-timer.h"

#if !defined(CONFIG_USER_ONLY)
-#include <linux/kvm.h>
#include "kvm.h"
#endif

See http://patchwork.ozlabs.org/patch/97191/.

Regards,
Stefan W.



Reply via email to