From: Michael Jeanson Date: Fri, 15 May 2020 19:12:53 +0000 (-0400) Subject: fix: vmalloc_sync_mappings was backported to v5.5.12 X-Git-Tag: v2.11.4~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3dd9939542e42a51f553ea6d80fc3b103a13961a;p=lttng-modules.git fix: vmalloc_sync_mappings was backported to v5.5.12 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: Ie554d9c956afc2a8e114fe41e4b3c225d8af40a1 --- diff --git a/wrapper/vmalloc.h b/wrapper/vmalloc.h index 75c7e2c6..2a7b341b 100644 --- a/wrapper/vmalloc.h +++ b/wrapper/vmalloc.h @@ -23,6 +23,7 @@ #include #if (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) \ || LTTNG_KERNEL_RANGE(4,19,113, 4,20,0) \ @@ -83,6 +84,7 @@ void wrapper_vmalloc_sync_mappings(void) #else #if (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) \ || LTTNG_KERNEL_RANGE(4,19,113, 4,20,0) \