From patchwork Tue May 24 17:42:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 97191 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 98A5DB6F9C for ; Wed, 25 May 2011 03:43:14 +1000 (EST) Received: from localhost ([::1]:59623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOvdP-0006My-Fm for incoming@patchwork.ozlabs.org; Tue, 24 May 2011 13:43:11 -0400 Received: from eggs.gnu.org ([140.186.70.92]:60716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOvdI-0006Mr-61 for qemu-devel@nongnu.org; Tue, 24 May 2011 13:43:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOvdH-0006Ji-23 for qemu-devel@nongnu.org; Tue, 24 May 2011 13:43:04 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:57762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOvdG-0006Ie-Hu for qemu-devel@nongnu.org; Tue, 24 May 2011 13:43:03 -0400 Received: from flocke.weilnetz.de (p5086FFE8.dip.t-dialin.net [80.134.255.232]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MVJte-1Q9ykN0No6-00YIdi; Tue, 24 May 2011 19:42:53 +0200 Received: from stefan by flocke.weilnetz.de with local (Exim 4.72) (envelope-from ) id 1QOvd6-0005O4-3e; Tue, 24 May 2011 19:42:52 +0200 From: Stefan Weil To: QEMU Developers Date: Tue, 24 May 2011 19:42:51 +0200 Message-Id: <1306258971-20679-1-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.7.2.5 X-Provags-ID: V02:K0:YEmpFG1yNhtLl33nbOS7wG8ngyyvZWWyzs9Nfsxu1mU UAba7jWCUqbLJgodlIN5YUy/0ZrgvoKMa1UQUUMXxWn9eyiEfm Af5dgxNS884RuoPPBqwsCUle7DRz+4+2t3eLSF1NMoYBPAwaRS FFqwsG1H7QoCyndooyTVab89v2R7lG3K2ziUoYNXQ/LOUUqqd2 nmDrP9QlEJ/Oi2az4Bh2yi+gr016pXYEYcQN9ldBw+EGGWdKaf Xz6IKnBgyPk7A X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.171 Cc: Alexander Graf Subject: [Qemu-devel] [PATCH] target-s390x: Fix build for non-linux hosts X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org linux/kvm.h is not always available for compilation. Neither linux/kvm.h nor kvm.h are needed, so remove both which also fixes the build problem for non-linux hosts. Cc: Alexander Graf Signed-off-by: Stefan Weil --- target-s390x/helper.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/target-s390x/helper.c b/target-s390x/helper.c index c79af46..745d8c5 100644 --- a/target-s390x/helper.c +++ b/target-s390x/helper.c @@ -28,11 +28,6 @@ #include "qemu-common.h" #include "qemu-timer.h" -#if !defined(CONFIG_USER_ONLY) -#include -#include "kvm.h" -#endif - //#define DEBUG_S390 //#define DEBUG_S390_PTE //#define DEBUG_S390_STDOUT