projects
/
deliverable
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: UTS_UBUNTU_RELEASE_ABI is close to overflow
[deliverable/lttng-modules.git]
/
include
/
lttng
/
kernel-version.h
diff --git
a/include/lttng/kernel-version.h
b/include/lttng/kernel-version.h
index 38b47cc34e424fc92fb47d82a624b42832461b00..5f388dce11a0257aa4f0aa7062a55e8418e0f6d9 100644
(file)
--- a/
include/lttng/kernel-version.h
+++ b/
include/lttng/kernel-version.h
@@
-70,11
+70,11
@@
/* Ubuntu */
#define LTTNG_UBUNTU_KERNEL_VERSION(a, b, c, d) \
/* Ubuntu */
#define LTTNG_UBUNTU_KERNEL_VERSION(a, b, c, d) \
- (((LTTNG_KERNEL_VERSION(a, b, c)) <<
8
) + (d))
+ (((LTTNG_KERNEL_VERSION(a, b, c)) <<
16
) + (d))
#ifdef UTS_UBUNTU_RELEASE_ABI
#define LTTNG_UBUNTU_VERSION_CODE \
#ifdef UTS_UBUNTU_RELEASE_ABI
#define LTTNG_UBUNTU_VERSION_CODE \
- ((LTTNG_LINUX_VERSION_CODE <<
8
) + UTS_UBUNTU_RELEASE_ABI)
+ ((LTTNG_LINUX_VERSION_CODE <<
16
) + UTS_UBUNTU_RELEASE_ABI)
#else
#define LTTNG_UBUNTU_VERSION_CODE 0
#endif
#else
#define LTTNG_UBUNTU_VERSION_CODE 0
#endif
This page took
0.025004 seconds
and
5
git commands to generate.