Message ID | 1454067047-381-3-git-send-email-hongbo.zhang@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1057625lbb; Fri, 29 Jan 2016 03:39:35 -0800 (PST) X-Received: by 10.50.44.69 with SMTP id c5mr8626111igm.80.1454067575740; Fri, 29 Jan 2016 03:39:35 -0800 (PST) Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id b67si25830777ioj.123.2016.01.29.03.39.35; Fri, 29 Jan 2016 03:39:35 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E8E32619EC; Fri, 29 Jan 2016 11:39:34 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=XZJ2RgCQ; dkim-adsp=none (unprotected policy); dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id D70AC6177E; Fri, 29 Jan 2016 11:38:55 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id ED3076177E; Fri, 29 Jan 2016 11:38:51 +0000 (UTC) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by lists.linaro.org (Postfix) with ESMTPS id 1557D6177E for <lng-odp@lists.linaro.org>; Fri, 29 Jan 2016 11:38:32 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id cy9so40366941pac.0 for <lng-odp@lists.linaro.org>; Fri, 29 Jan 2016 03:38:32 -0800 (PST) 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; bh=bP7WvNxOcrF/1rk+W036MnyidRuJuWKUQbzJzsSNrtc=; b=XZJ2RgCQSd+73UKMj7zxbpGzGgqIkelQvq2nnMkbUTBFho4dPoayjLXaqfDawF8BNb 6G842KoTPqOCZKp4qEA+lu9rz26HdwiL/G+AY27vWUsutui8ExY7UNkNz25mT+c1QXDa KPY4W0BAATlxPM8cXE6rPn7sJcReXFgrExoGw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bP7WvNxOcrF/1rk+W036MnyidRuJuWKUQbzJzsSNrtc=; b=DhKe9v51s6j5Wt2v6hDZL+4z/+VwkfhzQyGOsA9p+dXsX0cp3Fqo+TS/h9lgax/BYk RDka3gOUrniRTzl5or7kg/glN/2AAWntotg9M9xQZw02KVI2ZnUkltv8gKmx5EU1ceAY wX7B6hEisxweH1EJK60/yBj16VezB6SUB8MULMx9e6xKCyTYPZ9hKM5xY8/Twu32dHgr ii4YXTe4qBtHDD+oFv1GnngB15wxODJoY5VmQtGnrPlu3sZX/YS8DWkbNhD3ZSgrs3Xj KfWRrn9bkr0tKNwAW9xpexellF9zXdIReJjkGBjACk/jKakYcfx8LiBmAece65Kw7Ybc ntWA== X-Gm-Message-State: AG10YOTblm/BwFywRyGe8srIEj7FL+Z6VQsRL9rvulmWlI9+lV6gqdvIOSPl2e1kWsnqWT+geDo= X-Received: by 10.67.1.164 with SMTP id bh4mr12627185pad.118.1454067511430; Fri, 29 Jan 2016 03:38:31 -0800 (PST) Received: from ubuntu1504.ap.freescale.net (gate-zmy3.freescale.com. [192.88.167.1]) by smtp.gmail.com with ESMTPSA id f21sm23063753pfd.6.2016.01.29.03.38.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Jan 2016 03:38:30 -0800 (PST) From: hongbo.zhang@linaro.org To: lng-odp@lists.linaro.org Date: Fri, 29 Jan 2016 19:30:45 +0800 Message-Id: <1454067047-381-3-git-send-email-hongbo.zhang@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1454067047-381-1-git-send-email-hongbo.zhang@linaro.org> References: <1454067047-381-1-git-send-email-hongbo.zhang@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH API-NEXT 2/4] linux-generic: systemcpu(): use input parameter instead of global data X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
diff --git a/platform/linux-generic/odp_system_info.c b/platform/linux-generic/odp_system_info.c index bedbbc8..2d202a0 100644 --- a/platform/linux-generic/odp_system_info.c +++ b/platform/linux-generic/odp_system_info.c @@ -137,7 +137,7 @@ static int systemcpu(odp_system_info_t *sysinfo) return -1; } - odp_global_data.system_info.huge_page_size = huge_page_size(); + sysinfo->huge_page_size = huge_page_size(); return 0; }