[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH 6/6] Avoid compilation warning re

From: Stefan Weil
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH 6/6] Avoid compilation warning regarding kvm under darwin
Date: Fri, 27 May 2011 19:39:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110307 Iceowl/1.0b1 Icedove/3.0.11

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

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 <address@hidden>
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"

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

Stefan W.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]