From patchwork Mon Jul 17 14:48:44 2017 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: 107986 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp4670885obm; Mon, 17 Jul 2017 08:01:55 -0700 (PDT) X-Received: by 10.55.64.81 with SMTP id n78mr12726600qka.36.1500303715786; Mon, 17 Jul 2017 08:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500303715; cv=none; d=google.com; s=arc-20160816; b=DCB8dRPkeQAUifqMmlBb802FoObmyM2j7jNPSo1x8l7kje1mPlrKrTDik7DXHCcp0O kWmYfH06nvfyOD/noQSYu0vjZIW81ze34TOJhgc1/G5b6HPed+QQZugymac2i9Q5xpEY 1TRWIyx2qaS18/wJ/BnLj7UQs6N7ExYjizORhPYkb/VPinVHPcBPBOFsADI6V+lRVx7y GGiYv9a6kvXg4g6AcBo6hnaFzzPGaEc1D/c7FnsUdCzpfKqJXZa3mPhwMukB/0qWMbay iYrFcyOAC1nEBsEMFetUUCNPheiwATGYrrxyJtGCkzGA0qAjNSh74oK4/OUCSohZTXls HL3w== 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:dkim-signature:arc-authentication-results; bh=+ZO/nWBzTH+fd60s5Qc7atUkwcK7oWqyHluYmGKBms4=; b=PzvRNAWP0f2oNYVhEdArScjDUnqZLsLEqQV38ubmAUqCJMf6Y/c8mQLThjBKj7nY4H 18C7Kx35XQdGUr5rJYr0DFzRrHRErN/d0/rQo8+2Mu4PnQ/Gs7FH0Dq2LnS9dE4x9VhV nbXhLHV+MtMm/Zcvfclg1hb/K/gLqpwGr05DAR8Z36O42zn/2hra8pjf9j76e0bseecd AVyBfNa0auk3OsL6y3XLxxK/sDYZpfjUpx20hDQMbhkSOJoX+4V6m3XQ+qC2rIQ0zXEO wuloYUem+OpjEE/b3S1MSU8qN7ynPRA2MalQWFHD0KuoRgV78PuyrYPQHxga/s5gPM2A HTdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=F3KEfUAa; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id f40si6217697qte.360.2017.07.17.08.01.55 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Jul 2017 08:01:55 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.b=F3KEfUAa; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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 ([::1]:50912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7Wz-0001F0-4r for patch@linaro.org; Mon, 17 Jul 2017 11:01:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7Sb-0005XB-4R for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:57:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7Sa-0005tH-AE for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:57:21 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:35774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX7Sa-0005sn-3w for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:57:20 -0400 Received: by mail-wr0-x234.google.com with SMTP id w4so24011129wrb.2 for ; Mon, 17 Jul 2017 07:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+ZO/nWBzTH+fd60s5Qc7atUkwcK7oWqyHluYmGKBms4=; b=F3KEfUAaHthvFj1473wOGamJU+EU6DVb5v7Fwxc72fKHgiMsMYBKHjTa2WSb6OBvN0 npQySKnUHEZRxfGJoZMvT6h6uGsQQiGDIgE2wZbf7/VLsk7q6H57sVoftUHtz1sFnNqB EgOjpGQ1T2Tsy1uaTSGFGXW4K3lsDRfutRe5Q= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+ZO/nWBzTH+fd60s5Qc7atUkwcK7oWqyHluYmGKBms4=; b=H9ELQLFtiXFnQIH3W2xG1ZRcKndblDuwxH+1bKlJ100GVE7HEN70iB6FqQscENfwA2 jc5IDy7JtLfhUaX2RSw5g7PAGmQ4uWXeylVJnjEKFWWImZoOkVi4NKxkdm+xsah9SKMc 3BJdlDXMRtzCuck3GHklhOqX36XSLZOZ28oAVVnIsnBXsvXlNRBahoYxR1pMeLvAoaC/ 3n5ZeYasUOZzsoRHfNIryyk3tMFyL1iQ/woqz7peyvums7533iCSN8Z+13o/XrVkQHFW pzU5mB5CxegmYkmRn4pQ6stoxpg/GFp9/vRwW4T0CIjGHbYKN3gakWPHNoOTMZc2D39r QGsA== X-Gm-Message-State: AIVw112nu5haaq/AaG6ZBaS50PUExXntNfQPjs1fRoyajtadlyykjxor hmf9I3hMyjQTR2Bz+mk2Ng== X-Received: by 10.223.150.54 with SMTP id b51mr6495227wra.185.1500303438904; Mon, 17 Jul 2017 07:57:18 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b195sm20366209wmf.0.2017.07.17.07.57.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 07:57:16 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id B66643E0688; Mon, 17 Jul 2017 15:48:49 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 17 Jul 2017 15:48:44 +0100 Message-Id: <20170717144848.11793-20-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170717144848.11793-1-alex.bennee@linaro.org> References: <20170717144848.11793-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 Subject: [Qemu-devel] [PATCH v1 19/23] util/cacheinfo: add missing include (TEMP) 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: qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé 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(+) -- 2.13.0 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) {