From patchwork Fri Oct 6 17:00:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 115108 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2016502qgn; Fri, 6 Oct 2017 10:03:10 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCmig6SWxUDSvEqnleTADR4jBnqSxhGiqimZyPexV+Ul/ABizqj4cOx/ju/+k+dYs5MGI/u X-Received: by 10.36.89.69 with SMTP id p66mr3153141itb.124.1507309390281; Fri, 06 Oct 2017 10:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507309390; cv=none; d=google.com; s=arc-20160816; b=mTVu8VRpE7l+JAftlFuR493QxS5iVoNX3wKSh1566a8m8+oG/jD4LIyozT4u38qlwd s2cfph1AAgrvdXZkdRNrr+E7EUay7iFsXzrzf8tsR4Je9omUrmHsBwlzScugyaPrVyI/ R0L7tS2TKOtLkPO+UiGkEUdsYz+DRYz9grXY52+kQEBkj5q2BDiCVnv7MmKhyj6gaw1N X3XWE75k6Tlayrc+MhtFJJEP4D6A7BIW/ZsfkCrWGAEjZLJPDNAw6NPqI/ef93wAACkR wAsJ/dMtTML9DvNLLXlLqzyGcs3a2mE1sT+DqV0cu4Jdre7cZ8bx9xeIFu4hDr7cS0HF X93A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=vQ68ptToXunMKTgU4NQhBjHVW1OGx94p7HONgUdQdN0=; b=gwj+IpxvKCfnNnwtLqQvUJ+dz73EmGCmER5BB0lPZ4nF1kyy/lrY7fLuBDDsYnPv1R 8XTRyVKWx4Te4nMz3XN9/0wEZTg635gdTtKx4YsZvqbVeT63lMI6N33f8fdRrHCQW4BL tu/zXPzvklROLTGHHeiPA5tJe0RMeCEJcYe5CYakuLcsA/us/iVQ3tcJcawFXPBOi+Zl zHXwgx0yVk+Q9SFFUJ1ezCXLuAvdnTkSIkHthKBHWUkOA42njCXTigwBoV8rQPjZFoYd oP2FbUguEE7/7msmt4SK8OmIXHD8emLFChPjnlWpACge/2GhuTEVjf/1CsYw9bCn7p6T HPzQ== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x33si1349913ioi.218.2017.10.06.10.03.08; Fri, 06 Oct 2017 10:03:10 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 32B7664A60; Fri, 6 Oct 2017 17:03:08 +0000 (UTC) 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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 30DEE648CD; Fri, 6 Oct 2017 17:00:45 +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 513A3644E0; Fri, 6 Oct 2017 17:00:29 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 8F59A60988 for ; Fri, 6 Oct 2017 17:00:26 +0000 (UTC) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 0CB575A053DB for ; Fri, 6 Oct 2017 20:00:25 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id at2cAv404H-0OvCH2Tm; Fri, 06 Oct 2017 20:00:24 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 0Y31n8xpdr-0OmG1mge; Fri, 06 Oct 2017 20:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 6 Oct 2017 20:00:14 +0300 Message-Id: <1507309214-28483-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507309214-28483-1-git-send-email-odpbot@yandex.ru> References: <1507309214-28483-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 214 Subject: [lng-odp] [PATCH v4 2/2] linux-generic: Fix on odp_cpu_arch_hz_current() declaration for x86 X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- /** Email created from pull request 214 (apalos:bug_3249) ** https://github.com/Linaro/odp/pull/214 ** Patch: https://github.com/Linaro/odp/pull/214.patch ** Base sha: a63f25ff2994b2df78c24f1f8b63d0e06628eb68 ** Merge commit sha: 57fff95425e76f7cec228f7a9471ca07c25cf029 **/ platform/linux-generic/arch/x86/odp_sysinfo_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c index f3fd8c146..be2dfb230 100644 --- a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c @@ -46,7 +46,7 @@ void sys_info_print_arch(void) cpu_flags_print_all(); } -uint64_t odp_cpu_arch_hz_current(int id ODP_UNUSED) +uint64_t odp_cpu_arch_hz_current(int id) { char str[1024]; FILE *file;