From patchwork Tue Jul 11 01:55:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 786429 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x64w91QClz9s3w for ; Tue, 11 Jul 2017 11:57:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cSncY7J5"; dkim-atps=neutral Received: from localhost ([::1]:43736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUkQD-0002nT-MB for incoming@patchwork.ozlabs.org; Mon, 10 Jul 2017 21:57:05 -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) 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) 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) 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 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 = qemu_getauxval(AT_ICACHEBSIZE); ^ qemu/util/cacheinfo.c:137:33: note: each undeclared identifier is reported only once for each function it appears in qemu/util/cacheinfo.c:140:33: error: 'AT_DCACHEBSIZE' undeclared (first use in this function) *dsize = 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é --- 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) } #elif defined(_ARCH_PPC) && defined(__linux__) +# include "elf.h" static void arch_cache_info(int *isize, int *dsize) {