projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace kernel version macros
[lttng-modules.git]
/
lib
/
bug.h
diff --git
a/lib/bug.h
b/lib/bug.h
index 8ddf2b0194616df2d25fd20389b29eaae146b037..1b0ef895b88976f9e99f024d67baa815ed962fd7 100644
(file)
--- a/
lib/bug.h
+++ b/
lib/bug.h
@@
-8,9
+8,9
@@
#ifndef _LTTNG_BUG_H
#define _LTTNG_BUG_H
#ifndef _LTTNG_BUG_H
#define _LTTNG_BUG_H
-#include <l
inux/
version.h>
+#include <l
ttng-kernel-
version.h>
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(2,6,38))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(2,6,38))
#define LTTNG_BUILD_BUG_ON(cond) BUILD_BUG_ON(cond)
#else
#define LTTNG_BUILD_BUG_ON(cond) MAYBE_BUILD_BUG_ON(cond)
#define LTTNG_BUILD_BUG_ON(cond) BUILD_BUG_ON(cond)
#else
#define LTTNG_BUILD_BUG_ON(cond) MAYBE_BUILD_BUG_ON(cond)
This page took
0.023373 seconds
and
4
git commands to generate.