projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git]
/
lttng-abi.c
diff --git
a/lttng-abi.c
b/lttng-abi.c
index b63e376413490693e00cc38c2aea96e5cdfc9acb..826ecab465b83ab10b2a712da1704c8f772e6374 100644
(file)
--- a/
lttng-abi.c
+++ b/
lttng-abi.c
@@
-30,7
+30,7
@@
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/err.h>
-#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_
all
() */
+#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_
mappings
() */
#include <wrapper/ringbuffer/vfs.h>
#include <wrapper/ringbuffer/backend.h>
#include <wrapper/ringbuffer/frontend.h>
#include <wrapper/ringbuffer/vfs.h>
#include <wrapper/ringbuffer/backend.h>
#include <wrapper/ringbuffer/frontend.h>
@@
-1938,7
+1938,7
@@
int __init lttng_abi_init(void)
{
int ret = 0;
{
int ret = 0;
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
lttng_clock_ref();
ret = lttng_tp_mempool_init();
lttng_clock_ref();
ret = lttng_tp_mempool_init();
This page took
0.023403 seconds
and
4
git commands to generate.