X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libringbuffer%2Fvatomic.h;h=0f5cc03d9fdd895a6ad9cc56f88fa352b80df890;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=29bb67d7cc0f405ca579dc74898381e1e61c450c;hpb=b728d87e617189fe9898a9492a559ecf949d2348;p=deliverable%2Flttng-ust.git diff --git a/libringbuffer/vatomic.h b/libringbuffer/vatomic.h index 29bb67d7..0f5cc03d 100644 --- a/libringbuffer/vatomic.h +++ b/libringbuffer/vatomic.h @@ -1,21 +1,12 @@ -#ifndef _LINUX_RING_BUFFER_VATOMIC_H -#define _LINUX_RING_BUFFER_VATOMIC_H - /* - * linux/ringbuffer/vatomic.h - * - * Copyright (C) 2010 - Mathieu Desnoyers + * SPDX-License-Identifier: MIT * - * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED - * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. - * - * Permission is hereby granted to use or copy this program - * for any purpose, provided the above notices are retained on all copies. - * Permission to modify the code and to distribute modified code is granted, - * provided the above notices are retained, and a notice that the code was - * modified is included with the above copyright notice. + * Copyright (C) 2010-2012 Mathieu Desnoyers */ +#ifndef _LTTNG_RING_BUFFER_VATOMIC_H +#define _LTTNG_RING_BUFFER_VATOMIC_H + #include #include @@ -78,4 +69,4 @@ long v_cmpxchg(const struct lttng_ust_lib_ring_buffer_config *config, union v_at return uatomic_cmpxchg(&v_a->a, old, _new); } -#endif /* _LINUX_RING_BUFFER_VATOMIC_H */ +#endif /* _LTTNG_RING_BUFFER_VATOMIC_H */