projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: implicit declarations caused by buffer size checks.
[lttng-modules.git]
/
lib
/
ringbuffer
/
nohz.h
diff --git
a/lib/ringbuffer/nohz.h
b/lib/ringbuffer/nohz.h
index 3c31072569020d0e8c7dd42a8b95de6561ba43ef..6a7d2247190fa83296c82ab936f917add9244520 100644
(file)
--- a/
lib/ringbuffer/nohz.h
+++ b/
lib/ringbuffer/nohz.h
@@
-1,14
+1,13
@@
-#ifndef _LINUX_RING_BUFFER_NOHZ_H
-#define _LINUX_RING_BUFFER_NOHZ_H
-
-/*
- * ringbuffer/nohz.h
+/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
*
*
- *
Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
lib/ringbuffer/nohz.h
*
*
- *
Dual LGPL v2.1/GPL v2 license.
+ *
Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
*/
+#ifndef _LIB_RING_BUFFER_NOHZ_H
+#define _LIB_RING_BUFFER_NOHZ_H
+
#ifdef CONFIG_LIB_RING_BUFFER
void lib_ring_buffer_tick_nohz_flush(void);
void lib_ring_buffer_tick_nohz_stop(void);
#ifdef CONFIG_LIB_RING_BUFFER
void lib_ring_buffer_tick_nohz_flush(void);
void lib_ring_buffer_tick_nohz_stop(void);
@@
-27,4
+26,4
@@
static inline void lib_ring_buffer_tick_nohz_restart(void)
}
#endif
}
#endif
-#endif /* _LI
NUX
_RING_BUFFER_NOHZ_H */
+#endif /* _LI
B
_RING_BUFFER_NOHZ_H */
This page took
0.04627 seconds
and
4
git commands to generate.