diff mbox

api: odp_atomic.h: doxygen fix

Message ID 1416947933-32096-1-git-send-email-ola.liljedahl@linaro.org
State Accepted
Commit 5569f6b3e05abceb24cb91afeec2a03087ef3ef1
Headers show

Commit Message

Ola Liljedahl Nov. 25, 2014, 8:38 p.m. UTC
Signed-off-by: Ola Liljedahl <ola.liljedahl@linaro.org>
---
 platform/linux-generic/include/api/odp_atomic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mike Holmes Nov. 25, 2014, 8:44 p.m. UTC | #1
On 25 November 2014 at 15:38, Ola Liljedahl <ola.liljedahl@linaro.org>
wrote:

> Signed-off-by: Ola Liljedahl <ola.liljedahl@linaro.org>
>

Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org>


> ---
>  platform/linux-generic/include/api/odp_atomic.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/platform/linux-generic/include/api/odp_atomic.h
> b/platform/linux-generic/include/api/odp_atomic.h
> index de9d91c..9eebb86 100644
> --- a/platform/linux-generic/include/api/odp_atomic.h
> +++ b/platform/linux-generic/include/api/odp_atomic.h
> @@ -36,7 +36,7 @@ typedef struct {
>  #if __GCC_ATOMIC_LLONG_LOCK_FREE < 2
>         /* Some architectures do not support lock-free operations on 64-bit
>          * data types. We use a spin lock to ensure atomicity. */
> -       char lock;
> +       char lock; /**< Spin lock used to ensure atomic access */
>  #endif
>  } odp_atomic_u64_t
>  ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignement! */
> --
> 1.9.1
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Nov. 26, 2014, 12:42 p.m. UTC | #2
Merged.

Maxim.

On 11/25/2014 11:44 PM, Mike Holmes wrote:
>
>
> On 25 November 2014 at 15:38, Ola Liljedahl <ola.liljedahl@linaro.org 
> <mailto:ola.liljedahl@linaro.org>> wrote:
>
>     Signed-off-by: Ola Liljedahl <ola.liljedahl@linaro.org
>     <mailto:ola.liljedahl@linaro.org>>
>
>
> Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org 
> <mailto:mike.holmes@linaro.org>>
>
>     ---
>      platform/linux-generic/include/api/odp_atomic.h | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>
>     diff --git a/platform/linux-generic/include/api/odp_atomic.h
>     b/platform/linux-generic/include/api/odp_atomic.h
>     index de9d91c..9eebb86 100644
>     --- a/platform/linux-generic/include/api/odp_atomic.h
>     +++ b/platform/linux-generic/include/api/odp_atomic.h
>     @@ -36,7 +36,7 @@ typedef struct {
>      #if __GCC_ATOMIC_LLONG_LOCK_FREE < 2
>             /* Some architectures do not support lock-free operations
>     on 64-bit
>              * data types. We use a spin lock to ensure atomicity. */
>     -       char lock;
>     +       char lock; /**< Spin lock used to ensure atomic access */
>      #endif
>      } odp_atomic_u64_t
>      ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignement! */
>     --
>     1.9.1
>
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> -- 
> *Mike Holmes*
> Linaro  Sr Technical Manager
> LNG - ODP
>
>
> _______________________________________________
> 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/include/api/odp_atomic.h b/platform/linux-generic/include/api/odp_atomic.h
index de9d91c..9eebb86 100644
--- a/platform/linux-generic/include/api/odp_atomic.h
+++ b/platform/linux-generic/include/api/odp_atomic.h
@@ -36,7 +36,7 @@  typedef struct {
 #if __GCC_ATOMIC_LLONG_LOCK_FREE < 2
 	/* Some architectures do not support lock-free operations on 64-bit
 	 * data types. We use a spin lock to ensure atomicity. */
-	char lock;
+	char lock; /**< Spin lock used to ensure atomic access */
 #endif
 } odp_atomic_u64_t
 ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignement! */