projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: Move instrumentation/ headers to include/instrumentation/
[lttng-modules.git]
/
wrapper
/
uaccess.h
diff --git
a/wrapper/uaccess.h
b/wrapper/uaccess.h
index c56427c5173ea7e3736de0a8ea2dc526141a9d91..ffbc46a15a1405772e20663665bfd60253d44a57 100644
(file)
--- a/
wrapper/uaccess.h
+++ b/
wrapper/uaccess.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
)
*
* wrapper/uaccess.h
*
*
* wrapper/uaccess.h
*
@@
-11,9
+11,10
@@
#define _LTTNG_WRAPPER_UACCESS_H
#include <linux/uaccess.h>
#define _LTTNG_WRAPPER_UACCESS_H
#include <linux/uaccess.h>
-#include <lttng
-
kernel-version.h>
+#include <lttng
/
kernel-version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0) || \
+ LTTNG_RHEL_KERNEL_RANGE(4,18,0,147,0,0, 4,19,0,0,0,0))
#define VERIFY_READ 0
#define VERIFY_WRITE 1
#define VERIFY_READ 0
#define VERIFY_WRITE 1
This page took
0.024065 seconds
and
4
git commands to generate.