projects
/
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
[lttng-modules.git]
/
lttng-kernel-version.h
diff --git
a/lttng-kernel-version.h
b/lttng-kernel-version.h
index 34b98a272722d7da2c756e50f80ae9219c94ae7d..ec2f084d6b34d610db44c5ba4f870b1477daeb98 100644
(file)
--- a/
lttng-kernel-version.h
+++ b/
lttng-kernel-version.h
@@
-72,11
+72,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.022729 seconds
and
4
git commands to generate.