Message ID | 20190510071557.30126-8-laurent@vivier.eu |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:142:0:0:0:0 with SMTP id j2csp2004750ilr; Fri, 10 May 2019 00:16:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLeDf8O10NOTjMTardLsSjKLw+WBFW6gUL05CALX0hnwlZBJETyFBNWZbN3ZhlVtpVDWxM X-Received: by 2002:a5d:54cc:: with SMTP id x12mr6541759wrv.303.1557472602064; Fri, 10 May 2019 00:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557472602; cv=none; d=google.com; s=arc-20160816; b=K+03jjQF7Zwu+gfRDa2+LylydwTxZZ9G2EkxuIk7E53ffd3RKMQ4qk05uNZvnYw+57 rZ5HaqpqpLYnTL4+PmE5C5K8T/j757ZSMNSo3S7qakEaVXg44RIeE3hZM+ASpIBGF8H6 bXvMXGN5KpcsPMLZBU8g61w2kEvclBhtQxHShCXCnC1nEuQCZFFGWJpKV65b2oai7GzR K/lEsIKxW5b/d7tPW5YK5k2PSxP92vthvl6Ubk1aAcaAtC3rn6KX8RrZNGMyI+ucWu34 lGJmYj4dKSmierfmjBrPpRoKWDAXSQhJfS88yEta89aniVgTbr0YBFjvAEIj25cZ/ZKg 7Z1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from; bh=iWtD9ZffYzuDD6U+PoeZ6pa5zyFC4QoWf8a0o7NKL5c=; b=RvGi3mbQg8WO9vmkLkZajhNajQtkQX5tKQ5Rrbg756+rsG3Em2E/aAyeF+irVJlk9d b+PFhXbf/KerA4tZMH1pTs43P9AAle/Cnpj3vtGZUBFBwfullB3yL/FCTCFUV4LXyeyU 1HW1KI++Ve/05yytWvUfO3BeIUMYpJssT1ZdiOhW5gj73yvdmwebYJfjyT/5k0lLmFyg PneMJtzFX9p1uEODY3fwn+JKxs7Go44pExDxPK9M7kkuL7bLTS5Wouyp3z5skvmxGBHI IkoFtgWnlumfARbo8jbdN8BksF4LRl7smFPR3f41/E3qJ9HfY27Zt6uE4C3R4FnP2sTs H5iA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y8si2918724wmd.191.2019.05.10.00.16.41 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 10 May 2019 00:16:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([127.0.0.1]:38164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1hOzlo-0005jC-U2 for patch@linaro.org; Fri, 10 May 2019 03:16:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <laurent@vivier.eu>) id 1hOzlL-0005hW-Uy for qemu-devel@nongnu.org; Fri, 10 May 2019 03:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <laurent@vivier.eu>) id 1hOzlL-0001gB-4H for qemu-devel@nongnu.org; Fri, 10 May 2019 03:16:11 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:58619) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <laurent@vivier.eu>) id 1hOzlK-0001fd-RL for qemu-devel@nongnu.org; Fri, 10 May 2019 03:16:11 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N1Oft-1gjefj1bUR-012tSC; Fri, 10 May 2019 09:16:08 +0200 From: Laurent Vivier <laurent@vivier.eu> To: qemu-devel@nongnu.org Date: Fri, 10 May 2019 09:15:57 +0200 Message-Id: <20190510071557.30126-8-laurent@vivier.eu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190510071557.30126-1-laurent@vivier.eu> References: <20190510071557.30126-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:XzJq04w+5M3m2BSeE6X/5R7ET+xs+0l4O0ib+jrUACU8+B1n9xN J69RSVffYV0Tyt+Y0MewNajtzss6nVbO94XYCGrhhkmFYoMOc5z1GPzuaST4HJ5xTY0oMzt Ug1fTCMUIj8fGYYQc8f6I0TLMZ+56kVDVgaQERH1SKIyzgOcj4lUH49KWmnQKOjp86QfQpf PXZjUTmiUInV4x5p+1tiQ== X-UI-Out-Filterresults: notjunk:1; V03:K0:h2wjnWxYZd0=:tlCZ9Szuf0tdY4wTA7ZyIP pHg33CnZoW6KFUqhR3J3CrfeKicCt+fGkh7UwYjvDZqwz/rUNO/MMLejzEFM4kBXW3dLGOvTl fAN2bwwteJ2WDVqcvhoMPGOssQeFcK+t7jGJrMTlHlRDqXmOgdPCe6IbkbXGsBotYUvMB96+T gdIXAEpQsk8xbYJzQ0lkGcTjdpOfJNXJ62zm5rDhlBn4Np3FGn5xAVDr6Otd80plB43oOtmij lTZNiufFC7UpQe02M9LKm7iQZvGIMohUWZFDbZ56k8RB1j0HIZ3VHYwnMF8qoEHnRJWoe4rcl TASpQHAZIcumem+0iquEeSPMWURO1PAuufbhmMnka6WbUOXCZoKJBAiP9TM+ZR2zTz3HLw5S1 EqIKx9RQus2YYc49stP1twXRjIPUIb2CyTiv39uoknyhVC9aTSskPzo+JiZaYTk/n63Uh/Lef wrq5/j/0M9XdKNBkjBSlKB8rBqBhAimQzduhaBPNdhc2IIKvfE+n6lEoEYzo8jqcni49/6ERh b2dW4X7uRdFbhAEwaG68orhqkucEJA5BfySujiXlj+6MC726MNp+E6hUnW8YBLNSvKgUtxKpS yDixn/kZ4V4mUv8bCBSsKJGBzcOn3MeWWm3O/PoZdCTPd2kVh5EobAbsNik5wKuWeNnCgHtVm iP4rbkN5FFcXB1VXleFQQD0xe7gxj89b36HHHro+zU762HABjr5lhW69vdooBoAZPcAJzm4sk KCK8jVopG+nvD+PFFX4qhANaPcguS3rIMI/MFL4Jzxzqzq8pkoLLtjSu3Vc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.10 Subject: [Qemu-devel] [PULL 7/7] linux-user: fix GPROF build failure X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Laurent Desnogues <laurent.desnogues@gmail.com>, Riku Voipio <riku.voipio@iki.fi>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, Laurent Vivier <laurent@vivier.eu> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
None
|
expand
|
diff --git a/linux-user/exit.c b/linux-user/exit.c index 14e94e28faf8..bdda7205532e 100644 --- a/linux-user/exit.c +++ b/linux-user/exit.c @@ -18,6 +18,9 @@ */ #include "qemu/osdep.h" #include "qemu.h" +#ifdef TARGET_GPROF +#include <sys/gmon.h> +#endif #ifdef CONFIG_GCOV extern void __gcov_dump(void); diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 44b593b81161..f5ff6f5dc8a8 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -59,9 +59,6 @@ #ifdef CONFIG_TIMERFD #include <sys/timerfd.h> #endif -#ifdef TARGET_GPROF -#include <sys/gmon.h> -#endif #ifdef CONFIG_EVENTFD #include <sys/eventfd.h> #endif