From patchwork Thu Jan 29 13:32:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 43938 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0600D2410D for ; Thu, 29 Jan 2015 13:35:40 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id h11sf12763671wiw.1 for ; Thu, 29 Jan 2015 05:35:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:content-length:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=xLKMDyPrbcmDp7+CQLAMiB5OiHjUQ9+4so4WRJjJN2E=; b=JH4FPwuw+57g87Ylqb126DXYF8U8Uyij6sVO0B8/OPb+CmaaFB8Hd1RWT7M4xynmgh pFSl9bATQQwTbGF9xe9/gG01Q58IW7/RqISzMMTZERPrgNy+GlmQigu3NvOFnITkshfW eUslHj9IXj91Tisk5ALyeI01BnkDxewNte6bjKgFzLIfb/6XzwD6pTJNeow2vCqtO9nm riqBMj8qbkwnhE7tBUM7TAWq6AhkdfdiGmE66MOc4mgEfLdZYISk5a+eIzOZkmQUdhSC YUCQH2Rjz5Jh6TCBlI9JXe8pIH2fh8RBoN1whLHGp2Hpefdbec23fUxvhCzx5x76bmFb fTpw== X-Gm-Message-State: ALoCoQnY9P8cXGM2IyKkIKmsyzgrDnrUYk3e9mEZCzlA8rnImwiLX9nh9aRhWQkYjCfUmFkcij94 X-Received: by 10.180.98.199 with SMTP id ek7mr424674wib.1.1422538539305; Thu, 29 Jan 2015 05:35:39 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.193 with SMTP id g1ls269278laf.14.gmail; Thu, 29 Jan 2015 05:35:39 -0800 (PST) X-Received: by 10.112.129.228 with SMTP id nz4mr854258lbb.8.1422538539072; Thu, 29 Jan 2015 05:35:39 -0800 (PST) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id xk2si7373664lac.117.2015.01.29.05.35.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 Jan 2015 05:35:39 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id f15so28097423lbj.0 for ; Thu, 29 Jan 2015 05:35:38 -0800 (PST) X-Received: by 10.152.203.230 with SMTP id kt6mr798249lac.38.1422538538750; Thu, 29 Jan 2015 05:35:38 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1764603lbj; Thu, 29 Jan 2015 05:35:37 -0800 (PST) X-Received: by 10.52.253.234 with SMTP id ad10mr133384vdd.54.1422538536436; Thu, 29 Jan 2015 05:35:36 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id t4si3396304vcp.85.2015.01.29.05.35.35 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 29 Jan 2015 05:35:36 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YGpDu-0001lG-5E; Thu, 29 Jan 2015 13:33:30 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YGpDs-0001l4-Ll for xen-devel@lists.xenproject.org; Thu, 29 Jan 2015 13:33:28 +0000 Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id 49/61-03164-7A63AC45; Thu, 29 Jan 2015 13:33:27 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-2.tower-31.messagelabs.com!1422538407!23258550!1 X-Originating-IP: [209.85.212.173] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.12.5; banners=-,-,- X-VirusChecked: Checked Received: (qmail 3286 invoked from network); 29 Jan 2015 13:33:27 -0000 Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 29 Jan 2015 13:33:27 -0000 Received: by mail-wi0-f173.google.com with SMTP id r20so26367122wiv.0 for ; Thu, 29 Jan 2015 05:33:26 -0800 (PST) X-Received: by 10.194.189.138 with SMTP id gi10mr1260720wjc.86.1422538406827; Thu, 29 Jan 2015 05:33:26 -0800 (PST) Received: from chilopoda.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id d7sm10506399wjs.2.2015.01.29.05.33.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Jan 2015 05:33:26 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Thu, 29 Jan 2015 13:32:57 +0000 Message-Id: <1422538377-20328-1-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: Keir Fraser , ian.campbell@citrix.com, tim@xen.org, Julien Grall , Ian Jackson , stefano.stabellini@citrix.com, Jan Beulich , Chao Peng Subject: [Xen-devel] [PATCH] xen: random: Add missing include xen/cache.h X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: The commit f6c9698 " x86: allow reading MSR_IA32_TSC with XENPF_resource_op" introduced a built regression on ARM platform. random.c:8:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘boot_random’ unsigned int __read_mostly boot_random; ^ The define __read_mostly is defined in asm/cache.h which is included by other headers on x86 but not on ARM. Include xen/cache.h to fix the build. Signed-off-by: Julien Grall Cc: Chao Peng Cc: Ian Jackson Cc: Jan Beulich Cc: Keir Fraser --- xen/common/random.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/common/random.c b/xen/common/random.c index cb9187c..fb805b0 100644 --- a/xen/common/random.c +++ b/xen/common/random.c @@ -1,3 +1,4 @@ +#include #include #include #include