From nobody Fri Nov 7 06:50:10 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1547477967115187.5161849348965; Mon, 14 Jan 2019 06:59:27 -0800 (PST) Received: from localhost ([127.0.0.1]:46972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj3i1-0004Lt-P4 for importer@patchew.org; Mon, 14 Jan 2019 09:59:25 -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) 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) 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-Google-Smtp-Source: ALg8bN753PAgnxnBnP2nTLTQL23xnEBvyBF/ElEwjgnczGvm0eauQ3R1+dmDV7hM5t6XDVUuWO3gbQ== X-Received: by 2002:adf:9b11:: with SMTP id b17mr25037371wrc.168.1547477428877; Mon, 14 Jan 2019 06:50:28 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=20Benn=C3=A9e?= , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9e --- linux-user/exit.c | 3 +++ linux-user/syscall.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) 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 =20 #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 --=20 2.17.1