Message ID | 1416947933-32096-1-git-send-email-ola.liljedahl@linaro.org |
---|---|
State | Accepted |
Commit | 5569f6b3e05abceb24cb91afeec2a03087ef3ef1 |
Headers | show |
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 >
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 --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! */
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(-)