X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Fvmalloc.h;fp=include%2Fwrapper%2Fvmalloc.h;h=ff279bc1b7042fdb68abccf3844aa1010d2a215c;hb=0dcc94fab9139ed71921e521f7fc6696808e22c1;hp=83b09d9621e3b5307f87031bcaa18349d43fa09b;hpb=238c45ded741a004792359940c537572bca81501;p=lttng-modules.git diff --git a/include/wrapper/vmalloc.h b/include/wrapper/vmalloc.h index 83b09d96..ff279bc1 100644 --- a/include/wrapper/vmalloc.h +++ b/include/wrapper/vmalloc.h @@ -22,7 +22,17 @@ #include #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0) \ +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,8,0)) + +/* + * wrapper_vmalloc_sync_mappings was removed in v5.8, the vmalloc mappings + * are now synchronized when they are created or torn down. + */ +static inline +void wrapper_vmalloc_sync_mappings(void) +{} + +#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0) \ || LTTNG_KERNEL_RANGE(5,5,12, 5,6,0) \ || LTTNG_KERNEL_RANGE(5,4,28, 5,5,0) \ || LTTNG_KERNEL_RANGE(5,2,37, 5,3,0) \