From patchwork Wed Jul 19 23:34:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 9853347 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 29C0760392 for ; Wed, 19 Jul 2017 23:37:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A62C2868B for ; Wed, 19 Jul 2017 23:37:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F374528700; Wed, 19 Jul 2017 23:37:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 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 mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8B81F2868B for ; Wed, 19 Jul 2017 23:37:04 +0000 (UTC) Received: from localhost ([::1]:35388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXyWd-00082J-Pn for patchwork-qemu-devel@patchwork.kernel.org; Wed, 19 Jul 2017 19:37:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXyVM-00080u-2Z for qemu-devel@nongnu.org; Wed, 19 Jul 2017 19:35:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXyVL-0006Xf-20 for qemu-devel@nongnu.org; Wed, 19 Jul 2017 19:35:44 -0400 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]:37303) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXyVK-0006XT-TB for qemu-devel@nongnu.org; Wed, 19 Jul 2017 19:35:42 -0400 Received: by mail-qk0-x241.google.com with SMTP id q130so1003660qka.4 for ; Wed, 19 Jul 2017 16:35:42 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=dv9zzSG5dBjKxNReyNpNz0Dp7e1PeLkZmsitvizkl1g=; b=EPdCM19kcuLjlCnwGafOQyOLsJEDI216IYmTee8DEKz/HiTffCevb5XMB01PwAIc9J 96Min1v1V7Mbj7rFir2TQweIVGFqHidfuORv7dru2OrQ/0MnnA8UjiQJyvuwg+XhlBpz TwaANfEOSjqYNXGX1LYUPi9d8FfNiQ/NyR/+o4a8MTb9cvyIKbPI2i4zRx6CiDEM45EP sQeffA8rFP5kpTDCWSf3RYYjSoHJ4FABrLXDgqWDl55ZtIFYwqmI7Fy73LbrvtNPmKbU lA1L/cAIPSoVw5gvdCtHXtfTcaRoF0k6KiSjL8VlXnHlYbFNQlb9iB3IopRLzow3awtx cMtg== 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=dv9zzSG5dBjKxNReyNpNz0Dp7e1PeLkZmsitvizkl1g=; b=TWxg+p1QfXRYKDjA0VX9OaF+c08afdHfKTN7ao9CnSuiOf+VWWix8e80dPKYSoOa5C JUCJdRRdN+uZLvHIIrDEFkByil3tbzQmvH28IjPXlXSuwrMyg4vc5yvsh6eh6gR4VZ6j 3AaPrPq3qyOdpSzK/X6+JgBMglT+v9as0jSFhlz4u51xJTjLNIHdBMpR3ewh9qBolzyl Rpn50gCgvl6NosOm/tv8+7o9yn/rLKyxNPg+PcV9MYRVYNWtxcQMboLoSJEziQ1zQPbO TTpbQR9vUWET74srb+4BZG0Fx22lm0rsF/aGXHXAmz8dPCUslJeRO8geGscHzyp6xiKs GkfA== X-Gm-Message-State: AIVw113Rh6/awyR/nQ8RwQZpROTqLCYSlE3ajmvaiwcJit5OmKxMrcRJ A2D1zDsJgOAClHf9kdM= X-Received: by 10.55.183.197 with SMTP id h188mr2531428qkf.206.1500507342114; Wed, 19 Jul 2017 16:35:42 -0700 (PDT) Received: from bigtime.com ([203.221.203.174]) by smtp.gmail.com with ESMTPSA id w33sm857130qth.96.2017.07.19.16.35.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jul 2017 16:35:41 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 19 Jul 2017 13:34:43 -1000 Message-Id: <20170719233455.8740-3-rth@twiddle.net> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170719233455.8740-1-rth@twiddle.net> References: <20170719233455.8740-1-rth@twiddle.net> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::241 Subject: [Qemu-devel] [PULL v2 02/14] util/cacheinfo: Add missing include for ppc linux 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: peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Philippe Mathieu-Daudé This include was forgotten when splitting cacheinfo.c out of tcg/ppc/tcg-target.inc.c (see commit b255b2c8). For a Centos7 host, the include path implicitly pulls in the desired AT_* defines. Not so for Debian Jessie. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20170711015524.22936-1-f4bug@amsat.org> Signed-off-by: Richard Henderson --- 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) {