From nobody Wed Nov 5 06:39:57 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.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 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1499738256681888.868695227574; Mon, 10 Jul 2017 18:57:36 -0700 (PDT) Received: from localhost ([::1]:43737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUkQh-00034D-H1 for importer@patchew.org; Mon, 10 Jul 2017 21:57:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUkPw-0002nD-1I for qemu-devel@nongnu.org; Mon, 10 Jul 2017 21:56:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUkPt-0001BN-1h for qemu-devel@nongnu.org; Mon, 10 Jul 2017 21:56:48 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:33593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUkPs-0001BD-Rk for qemu-devel@nongnu.org; Mon, 10 Jul 2017 21:56:44 -0400 Received: by mail-qt0-f195.google.com with SMTP id c20so14973475qte.0 for ; Mon, 10 Jul 2017 18:56:44 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id d14sm10296342qtc.58.2017.07.10.18.55.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 18:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IPlMWXFiEoOxu6BjVtgactgD9y7l1t3yTngPcGP++v4=; b=cSncY7J5q7kjlhQhqZXzCkHcG3cgppxZuVeFEwiA6EmAoxMBiGaSZbCDAEaFjz1n9j wQTSYg2ILXh4MtxZ5qZfuK1W1eymuh/g54Z7OE5gbtdGpcBU8o5bLZgws/6jQXUxQ+CG CkBuR6Bqye+g2VA6it4Wf7r7wy6sxwiH03wV378jtFSPkKrnsnCdDTb/WU25COMc857K pY/Krl+DSoYBDT/8IF8uCaYUGYXHXXbN5YKetSOS0Fe1hlfvJBmzKrxuFldhIhPOs94P 0Ez5jFcTb3LnXkWQwKoq+6AA/sR7kNKshA/4Twjskwy7vjtocYh0X4B0YB6iFsB8EYkz 2Oaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=IPlMWXFiEoOxu6BjVtgactgD9y7l1t3yTngPcGP++v4=; b=BFlKF8tpTeWiQIDWFJ/KMN6AulE6YZ3Qo+bqjzGJ255RFySr/oa7TQw8ogwJDZVJiH p1zqA0e5HP+J4apIuvDGuhbjTUBsxGrvuUfhoRxY2Vwj4i29TXPqn+2g1HBivvcRWrGZ bFT6sPpi4raCM7dYm3vJjAUBo4ab31kGTy8mMU8NRkVhmzjpTn6mUi2pG26J7pwQL/Z7 ItZfellGhWEw3JSggOHwQN7HpHvTwff+CziLT825xdrjRB5X4bKV+E0q6b3eFW1WOz+I h5c5SNWsOFN1qqhI/sd/AQedYBVMFGGsTSD3UwGWBhNlxZTy0gTU0HwaFnSAVP7Q3p7f fe3g== X-Gm-Message-State: AIVw113mmVXyWItYSn0QjGKZQsHMXviPQqostGm/ga9sgEyD3R+lvbHf CVUu6xoyxGNAqjnyAAU= X-Received: by 10.200.44.215 with SMTP id 23mr8472769qtx.167.1499738143816; Mon, 10 Jul 2017 18:55:43 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, "Emilio G. Cota" , Richard Henderson , Pranith Kumar , =?UTF-8?q?Alex=20Benn=C3=A9e?= , David Gibson , Geert Martin Ijewski Date: Mon, 10 Jul 2017 22:55:24 -0300 Message-Id: <20170711015524.22936-1-f4bug@amsat.org> X-Mailer: git-send-email 2.13.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.216.195 Subject: [Qemu-devel] [PATCH] util/cacheinfo: add missing 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 This include was forgotten when splitting cacheinfo.c out of tcg/ppc/tcg-target.inc.c (see commit b255b2c8). While compiling on powerpc: CC util/cacheinfo.o qemu/util/cacheinfo.c: In function 'arch_cache_info': qemu/util/cacheinfo.c:137:33: error: 'AT_ICACHEBSIZE' undeclared (first= use in this function) *isize =3D qemu_getauxval(AT_ICACHEBSIZE); ^ qemu/util/cacheinfo.c:137:33: note: each undeclared identifier is repor= ted only once for each function it appears in qemu/util/cacheinfo.c:140:33: error: 'AT_DCACHEBSIZE' undeclared (first= use in this function) *dsize =3D qemu_getauxval(AT_DCACHEBSIZE); ^ qemu/rules.mak:66: recipe for target 'util/cacheinfo.o' failed make: *** [util/cacheinfo.o] Error 1 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- util/cacheinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/cacheinfo.c b/util/cacheinfo.c index 6253049533..593940f27b 100644 --- a/util/cacheinfo.c +++ b/util/cacheinfo.c @@ -129,6 +129,7 @@ static void arch_cache_info(int *isize, int *dsize) } =20 #elif defined(_ARCH_PPC) && defined(__linux__) +# include "elf.h" =20 static void arch_cache_info(int *isize, int *dsize) { --=20 2.13.2