projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: out of memory error handling
[lttng-modules.git]
/
lib
/
ringbuffer
/
vatomic.h
diff --git
a/lib/ringbuffer/vatomic.h
b/lib/ringbuffer/vatomic.h
index b944dd63472f25e4dbc653ce91955271abede0aa..4f93f7d7182c5d64f802bab878b8f9f1f349390d 100644
(file)
--- a/
lib/ringbuffer/vatomic.h
+++ b/
lib/ringbuffer/vatomic.h
@@
-1,14
+1,13
@@
-#ifndef _LINUX_RING_BUFFER_VATOMIC_H
-#define _LINUX_RING_BUFFER_VATOMIC_H
-
-/*
- * linux/ringbuffer/vatomic.h
+/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
*
*
- *
Copyright (C) 2010 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
lib/ringbuffer/vatomic.h
*
*
- *
Dual LGPL v2.1/GPL v2 license.
+ *
Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
*/
+#ifndef _LIB_RING_BUFFER_VATOMIC_H
+#define _LIB_RING_BUFFER_VATOMIC_H
+
#include <asm/atomic.h>
#include <asm/local.h>
#include <asm/atomic.h>
#include <asm/local.h>
@@
-82,4
+81,4
@@
long v_cmpxchg(const struct lib_ring_buffer_config *config, union v_atomic *v_a,
return atomic_long_cmpxchg(&v_a->a, old, _new);
}
return atomic_long_cmpxchg(&v_a->a, old, _new);
}
-#endif /* _LI
NUX
_RING_BUFFER_VATOMIC_H */
+#endif /* _LI
B
_RING_BUFFER_VATOMIC_H */
This page took
0.04038 seconds
and
4
git commands to generate.