From patchwork Wed Jul 19 04:57:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 9850487 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 85E3560392 for ; Wed, 19 Jul 2017 04:58:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7587528587 for ; Wed, 19 Jul 2017 04:58:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A472285FB; Wed, 19 Jul 2017 04:58:45 +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 0C0EC28587 for ; Wed, 19 Jul 2017 04:58:45 +0000 (UTC) Received: from localhost ([::1]:59885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXh4O-0003He-97 for patchwork-qemu-devel@patchwork.kernel.org; Wed, 19 Jul 2017 00:58:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXh3K-0003GA-4N for qemu-devel@nongnu.org; Wed, 19 Jul 2017 00:57:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXh3J-00025w-Cd for qemu-devel@nongnu.org; Wed, 19 Jul 2017 00:57:38 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:33326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXh3J-00025q-7Q for qemu-devel@nongnu.org; Wed, 19 Jul 2017 00:57:37 -0400 Received: by mail-pf0-x241.google.com with SMTP id e199so5098835pfh.0 for ; Tue, 18 Jul 2017 21:57:37 -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=w6Y1Ifq0/9XGJR7xO/7axHvcEaoxpTc3rbNesveO7+w=; b=cHsORKisysl5DJUTTnFEMvRZMzbHBCMtas7ejePnM9uIGT0fH08nvGs0zkR6I7HZAE ThHpSffmkapXJsUcXHfpODiA3fXwqBDRkSRKdMSZPMOP23ORpUHVwcIrqUDqCCclejD4 M99FNWII/JC52bN0oHvxUkOkc7LtlzLSU4LppIhMs+tf7uILDcug4y6dH86YorVtvxkY 0sh3Wmk3DgFTUjG47LtljXDmQeqFVWR7k35lYAiL/sd8PLoYEd9/PKaiAino8gRqND4G mc92+JaRKA/VRkGkM0c9Pe6R9RbtaeTNvf1pAvah48xrDGAXux4sbdP+yYsZJg2n5K2p uqHw== 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=w6Y1Ifq0/9XGJR7xO/7axHvcEaoxpTc3rbNesveO7+w=; b=ogstnC1Xs8R0Cc6hgYtlCuKHfkgDrZs/OZoMZr5Sux35/mOW002b/enl13Ni2+X4Zx 7Onv0AS8qaF/Gc9n5djD4shSYg5XVcLNHmv+ffJjzMtVx8MKCSQtDOhJtOjSZi9dJpEl 2AJ22WQQ6zV/An3IJL0NUQpZ9I7mu52xsGLQw56XWZx7gC9+n+jwSdUa8I9nDZOmF2cl ViKWw0KppXSzXJTPKqhw34DCt8mlF053rEDchWr5Z6/mfiamc8zMe+617zvBqtue/M9O AIAJ5+8wGY0Hkxz9fZLlfOCzxCQKZJRyEQayGtjKYqKAbzZuennaBFG61lfjzt7TKZxd 0Lng== X-Gm-Message-State: AIVw112OagN1I/Skt7Pds4yWL0aFVM65C+uYkzFMfFPneH7Bgm0psgSP 9uMToQiO//McS+DDifg= X-Received: by 10.84.217.86 with SMTP id e22mr1214062plj.140.1500440256018; Tue, 18 Jul 2017 21:57:36 -0700 (PDT) Received: from bigtime.twiddle.net (14-203-207-215.tpgi.com.au. [14.203.207.215]) by smtp.gmail.com with ESMTPSA id m196sm9062855pga.33.2017.07.18.21.57.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 21:57:35 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 18 Jul 2017 18:57:10 -1000 Message-Id: <20170719045722.25492-3-rth@twiddle.net> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170719045722.25492-1-rth@twiddle.net> References: <20170719045722.25492-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:400e:c00::241 Subject: [Qemu-devel] [PULL 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 6253049..593940f 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) {