From 9bfe744ac4f1b424593c9d770485c2bd0122fdf6 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 15 May 2020 15:12:53 -0400 Subject: [PATCH] fix: vmalloc_sync_mappings was backported to v5.5.12 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: Ie554d9c956afc2a8e114fe41e4b3c225d8af40a1 --- include/wrapper/vmalloc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wrapper/vmalloc.h b/include/wrapper/vmalloc.h index 90087269..83b09d96 100644 --- a/include/wrapper/vmalloc.h +++ b/include/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) \ -- 2.34.1