From a4220f2377b9c1a4d6a5d32f7878c7bd909d18ab Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 12 May 2013 16:40:02 -0400 Subject: [PATCH] ck_pr: Remove ck_pr_fence_load_depends from GCC port. --- include/ck_pr.h | 2 ++ include/gcc/ck_pr.h | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/include/ck_pr.h b/include/ck_pr.h index 43a0b1c..2577714 100644 --- a/include/ck_pr.h +++ b/include/ck_pr.h @@ -70,6 +70,8 @@ * load ordering. */ CK_PR_FENCE_NOOP(load_depends) +#define ck_pr_fence_strict_load_depends ck_pr_fence_load_depends + #if defined(CK_MD_RMO) /* diff --git a/include/gcc/ck_pr.h b/include/gcc/ck_pr.h index 196d267..c5231bd 100644 --- a/include/gcc/ck_pr.h +++ b/include/gcc/ck_pr.h @@ -105,17 +105,6 @@ ck_pr_stall(void) return; } -/* - * Most target architectures do not require this. - */ -CK_CC_INLINE static void -ck_pr_fence_load_depends(void) -{ - - __sync_synchronize(); - return; -} - /* * Load and store fences are equivalent to full fences in the GCC port. */