From patchwork Fri Mar 6 15:50:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 45489 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 12E92204BC for ; Fri, 6 Mar 2015 15:51:05 +0000 (UTC) Received: by wghl18 with SMTP id l18sf2436910wgh.1 for ; Fri, 06 Mar 2015 07:51:04 -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:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=pVeOrr9LpiwxSjIDbIMxxx484Z7zCY7GEpJgSaCOL8I=; b=e64u0oaOZqTZWI5JKJBbxMiN7QD4LwMrwIZan8e5wdt46nB8pTt33q+kE7+sC7ZSRH vEkr/rQoY7gznXWKimfvyuROSnMroPfLpAt8R+UgqFIHW7SwvDK+7s2hPTr0nXApcdhW S1d5p+NOMxLnobew7kgdzDdVOlIXtOlZQvJOE3zaTdxjwE5uf50fPm4ovqHfb/BNx/NV aGGzV3kPCR8a9wzyX1urtCxo/w7xu3uSn+GE8mwjxu4wADrbgSYALOzQLfZk3SNFMgaD OhRyAXtw+dYFBhuQy6J8jMoepvwGQ5VxPdqVWfRBX85J4QSyaw5GOQ4uWHJgljWKmcAS INZQ== X-Gm-Message-State: ALoCoQmX0/GPySvv4jDWxkf4JkLk/PG+R+2yPC150s9KIpNhwJ9xUckPz3bK7ttyWDlVB4O1TdQA X-Received: by 10.180.13.98 with SMTP id g2mr5587361wic.3.1425657064357; Fri, 06 Mar 2015 07:51:04 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.226 with SMTP id t2ls90261laj.42.gmail; Fri, 06 Mar 2015 07:51:04 -0800 (PST) X-Received: by 10.152.19.9 with SMTP id a9mr13654632lae.80.1425657064129; Fri, 06 Mar 2015 07:51:04 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id 2si7426432lan.25.2015.03.06.07.51.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 07:51:04 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by labhs14 with SMTP id hs14so58401596lab.1 for ; Fri, 06 Mar 2015 07:51:04 -0800 (PST) X-Received: by 10.112.181.41 with SMTP id dt9mr13831135lbc.56.1425657063993; Fri, 06 Mar 2015 07:51:03 -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 h5csp1217994lbj; Fri, 6 Mar 2015 07:51:03 -0800 (PST) X-Received: by 10.140.148.216 with SMTP id 207mr20628501qhu.62.1425657062830; Fri, 06 Mar 2015 07:51:02 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id 142si9612702qhr.25.2015.03.06.07.51.01 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 06 Mar 2015 07:51:02 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YTuWh-0005Ud-El; Fri, 06 Mar 2015 15:50:59 +0000 Received: from mail-lb0-f177.google.com ([209.85.217.177]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YTuWc-0005UO-A7 for lng-odp@lists.linaro.org; Fri, 06 Mar 2015 15:50:54 +0000 Received: by lbjb6 with SMTP id b6so23197256lbj.9 for ; Fri, 06 Mar 2015 07:50:48 -0800 (PST) X-Received: by 10.112.150.131 with SMTP id ui3mr13600669lbb.62.1425657048339; Fri, 06 Mar 2015 07:50:48 -0800 (PST) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id ay12sm1875953lab.6.2015.03.06.07.50.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Mar 2015 07:50:47 -0800 (PST) From: Taras Kondratiuk To: bill.fischofer@linaro.org Date: Fri, 6 Mar 2015 17:50:39 +0200 Message-Id: <1425657039-9476-1-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH] linux-generic: linux: remove explicit buffer cache flush X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@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.215.50 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 _odp_flush_caches() is called from odp_term_local() now. Signed-off-by: Taras Kondratiuk Reviewed-by: Bill Fischofer --- platform/linux-generic/odp_linux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/linux-generic/odp_linux.c b/platform/linux-generic/odp_linux.c index 2f95131..f44f050 100644 --- a/platform/linux-generic/odp_linux.c +++ b/platform/linux-generic/odp_linux.c @@ -74,7 +74,6 @@ static void *odp_run_start_routine(void *arg) } void *ret_ptr = start_args->start_routine(start_args->arg); - _odp_flush_caches(); int ret = odp_term_local(); if (ret < 0) ODP_ERR("Local term failed\n");