diff mbox

linux-generic: linux: remove explicit buffer cache flush

Message ID 1425657039-9476-1-git-send-email-taras.kondratiuk@linaro.org
State Accepted
Commit d9860f351b2d80ed15648880e6a8d45917d9ced9
Headers show

Commit Message

Taras Kondratiuk March 6, 2015, 3:50 p.m. UTC
_odp_flush_caches() is called from odp_term_local() now.

Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 platform/linux-generic/odp_linux.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Bill Fischofer March 6, 2015, 4:25 p.m. UTC | #1
On Fri, Mar 6, 2015 at 9:50 AM, Taras Kondratiuk <
taras.kondratiuk@linaro.org> wrote:

> _odp_flush_caches() is called from odp_term_local() now.
>
> Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
>

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>


> ---
>  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");
> --
> 1.9.1
>
>
Maxim Uvarov March 10, 2015, 10:53 a.m. UTC | #2
Merged,
Maxim.

On 03/06/15 19:25, Bill Fischofer wrote:
>
>
> On Fri, Mar 6, 2015 at 9:50 AM, Taras Kondratiuk 
> <taras.kondratiuk@linaro.org <mailto:taras.kondratiuk@linaro.org>> wrote:
>
>     _odp_flush_caches() is called from odp_term_local() now.
>
>     Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org
>     <mailto:taras.kondratiuk@linaro.org>>
>
>
> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>>
>
>     ---
>      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");
>     --
>     1.9.1
>
>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

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");