X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fvmalloc.h;h=d905f603379c33577490633da9d1986cd72e2379;hb=da356b324dfc160e09b8966b691792037badf455;hp=5d0b38987d6b4d0f5cee6a0b6f8db696564b3a7f;hpb=b1f07894ca9e0df74d4040fb8c09c140f70a6ea9;p=lttng-modules.git diff --git a/wrapper/vmalloc.h b/wrapper/vmalloc.h index 5d0b3898..d905f603 100644 --- a/wrapper/vmalloc.h +++ b/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