projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
instrumentation: net: remove compatibility code
[lttng-modules.git]
/
lttng-kernel-version.h
diff --git
a/lttng-kernel-version.h
b/lttng-kernel-version.h
index 6b545dbbe28997d0a22ac7e89cbf3d507d0acd96..cb96a325b5af7dcee42b384da61a95157b7b783a 100644
(file)
--- a/
lttng-kernel-version.h
+++ b/
lttng-kernel-version.h
@@
-1,4
+1,4
@@
-/* SPDX-License-Identifier: (GPL-2.0
or LGPL-2.1
)
+/* SPDX-License-Identifier: (GPL-2.0
-only or LGPL-2.1-only
)
*
* lttng-kernel-version.h
*
*
* lttng-kernel-version.h
*
@@
-11,12
+11,7
@@
#define _LTTNG_KERNEL_VERSION_H
#include <linux/version.h>
#define _LTTNG_KERNEL_VERSION_H
#include <linux/version.h>
-
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
#include <generated/utsrelease.h>
#include <generated/utsrelease.h>
-#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */
-#include <linux/utsrelease.h>
-#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */
/*
* This macro checks if the kernel version is between the two specified
/*
* This macro checks if the kernel version is between the two specified
This page took
0.023117 seconds
and
4
git commands to generate.