X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Fvmalloc.h;h=2f640acc36681b9df8446333ed5268fc12adb260;hb=1d618748df5c107151e5d4580fad270ccb79a243;hp=26a836d08a7b28f2b310043fc52081bdeaf517a3;hpb=40a6bb2f712fc46dd983e6a2786c1cd4b61cbd72;p=lttng-modules.git diff --git a/include/wrapper/vmalloc.h b/include/wrapper/vmalloc.h index 26a836d0..2f640acc 100644 --- a/include/wrapper/vmalloc.h +++ b/include/wrapper/vmalloc.h @@ -21,7 +21,7 @@ #include #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) static inline void wrapper_vmalloc_sync_mappings(void) @@ -43,7 +43,7 @@ void wrapper_vmalloc_sync_mappings(void) } } -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) */ +#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) */ /* * Map vmalloc_sync_mappings to vmalloc_sync_all() on kernels before 5.7. @@ -68,11 +68,11 @@ void wrapper_vmalloc_sync_mappings(void) } } -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) */ +#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) */ #else -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) static inline void wrapper_vmalloc_sync_mappings(void) @@ -80,7 +80,7 @@ void wrapper_vmalloc_sync_mappings(void) return vmalloc_sync_mappings(); } -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) */ +#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) */ static inline void wrapper_vmalloc_sync_mappings(void) @@ -88,7 +88,7 @@ void wrapper_vmalloc_sync_mappings(void) return vmalloc_sync_all(); } -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) */ +#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) */ #endif