From patchwork Mon Jan 14 14:50:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 155516 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3749870jaa; Mon, 14 Jan 2019 06:59:58 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ofNxEXy2q/ARme6K7gRv4nkFozVTigjaCZew9tYnl8BzYbnr9yNJoA2flgpibLlOkgJ1f X-Received: by 2002:a05:6000:1144:: with SMTP id d4mr23866451wrx.136.1547477998041; Mon, 14 Jan 2019 06:59:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547477998; cv=none; d=google.com; s=arc-20160816; b=ChducbwJAZsnP6qLpdi73MUL8J3zxC0ZCMzXH6Y5TXNbNlSCFySyS29699RjBowSfd +pvOG8bRzdkCdifxfJeT3IOSB8VDE+nyjcsbez80sNC9OoYMZEU7EafMEssllv39nBDu 8ZVK9VvRrLGPOaZNy5Do5hiyYABHB2Oz5c2+ph1P/y4BjxSMSYLZLPn50KrzFQvTBrQV AUdYBeghQjwy4YSrKoe1exB12AZFynrpnH5SVR+eYMzRR6ZmxgYsPIlRN7DgG7uYgsQ9 MSJGNr1ElM5pZyrj390iL9xHdi+pE0Lpux0bOHmdl5Lmo2aqn6yK7hEp2QXtPaqGc9RM Z6/A== 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:message-id:date:to:from :dkim-signature; bh=YTcPrSoxzJ9ueNasZWDs60tk5AoVpp702jDcNEAEkCU=; b=eBSHTUKvcMn49r+vqBC1OTwnidc2hEN+EolvyQOcwQtvr+BVuZFumYVUIL3tQZ/jDn UIo9mIArgmJ/3dfGiSQ2mmgRbzZzxzq4Ss4ZZz61a/0lzh9E713lf9O8ri6WLv3ix8yz MBaTnGUaHrBisiJeKIRpU5YiCe3gBFvloe7edXWfS6tnlfuoKntWK2zpzWWApeUzyG5O NvTf8gd+/jWCyKtxAF7acoBkyr6+UCbjTupbZdKwYt/cjRSFltcdZmje533iKHtftKug +ZLQSjoZlZoBkWUMObE+j3cBDGFH7kr8C5iPktA5gN7el0i9AXfMu6xwGk56uq4lTFPA qYWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VUG06zZW; 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"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r68si19357254wme.104.2019.01.14.06.59.57 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 14 Jan 2019 06:59:58 -0800 (PST) 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; dkim=fail header.i=@linaro.org header.s=google header.b=VUG06zZW; 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"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:46972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj3iX-0004Lt-1n for patch@linaro.org; Mon, 14 Jan 2019 09:59:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj3ZT-0006Ze-2E for qemu-devel@nongnu.org; Mon, 14 Jan 2019 09:50:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj3ZS-0007h6-3K for qemu-devel@nongnu.org; Mon, 14 Jan 2019 09:50:35 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:40438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gj3ZR-0007eV-98 for qemu-devel@nongnu.org; Mon, 14 Jan 2019 09:50:33 -0500 Received: by mail-wr1-x442.google.com with SMTP id p4so23173325wrt.7 for ; Mon, 14 Jan 2019 06:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YTcPrSoxzJ9ueNasZWDs60tk5AoVpp702jDcNEAEkCU=; b=VUG06zZWOql4A1DVWim1/mN7OvlnN8Opt8X7huQ0vFS1zOq8FLK6hEwYDG13oCjqRo bd/AWm0KaGGns5gUIUYXrM5I7UPKFKHoL4z2ZSysQX0yN+4mNGxuu5/fQpJ90fB7uKVK IbgSlyE0xH3MT/gIhiMJCIygqMS/LmF5TL8pI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YTcPrSoxzJ9ueNasZWDs60tk5AoVpp702jDcNEAEkCU=; b=TPiiWxNLWGqazwksbGijmnfiA5VQB+szt3vjH5gGXv+ZMWvOrsqyoKTYlCDvmz+MyQ 2wsxo0j7yhgPVzJZ/GdkRvZTesilJzE+HtQTqHkZ9IaIZxp/N8B5NHu+fn5FKp7VwsXk kFTcFDB/5Yofga5k7jPyWiNEscxv73WkqrMaK7Wr7PnOZctscLt3QPhuAoS3Xyd82jrZ dwUWltdcqOvpHqMMcgrATPL+/TMH83pIJnljWfc5QVWunBuFFTh5KegjBypjNHfCheQb aw0CkoSYdAfyYMhJG+kByyxoZqYLNUqP8zfhex6/DPuwEvYxLD1nsYMES9VN9a+LQ4XP uI7Q== X-Gm-Message-State: AJcUuke/zVnpdP3PwlnFHp7vQ7DW5oO1Ur1eYPfiYzHJJulq6f0VY1g0 HN9PTUgbOIkxucRaYj1ZrA0YMA== X-Received: by 2002:adf:9b11:: with SMTP id b17mr25037371wrc.168.1547477428877; Mon, 14 Jan 2019 06:50:28 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a17sm71027122wrs.58.2019.01.14.06.50.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 06:50:28 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E01863E059D; Mon, 14 Jan 2019 14:50:27 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Mon, 14 Jan 2019 14:50:19 +0000 Message-Id: <20190114145019.22819-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 Subject: [Qemu-devel] [RFC PATCH] gcov: move gmon.h include X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , =?utf-8?q?Alex_Benn=C3=A9e?= , Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This got missed when preexit_cleanup got moved into it's own file and is apparently can get included as a side-effect so is only noticeable on some systems. Signed-off-by: Alex Bennée --- linux-user/exit.c | 3 +++ linux-user/syscall.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/linux-user/exit.c b/linux-user/exit.c index 14e94e28fa..bdda720553 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 +#endif #ifdef CONFIG_GCOV extern void __gcov_dump(void); diff --git a/linux-user/syscall.c b/linux-user/syscall.c index b5786d4fc1..7bbedb305f 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -59,9 +59,6 @@ #ifdef CONFIG_TIMERFD #include #endif -#ifdef TARGET_GPROF -#include -#endif #ifdef CONFIG_EVENTFD #include #endif