File sle_wrapper_vmalloc_sync_mappings.patch of Package lttng-modules

From: Tony Jones <tonyj@suse.de>
Subject: Fix: missing wrapper rename to wrapper_vmalloc_sync_mappings
Git-commit: 4d1817c129310945bf0b8227ebc0fbb4f6299dc7

Handle SLE backport.

--- a/wrapper/vmalloc.h	2020-11-02 18:02:01.134297422 -0800
+++ b/wrapper/vmalloc.h	2020-11-02 18:01:45.814339105 -0800
@@ -22,7 +22,7 @@
 #include <wrapper/kallsyms.h>
 #include <lttng-kernel-version.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,8,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,8,0) || (CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 3))
 
 /*
  * wrapper_vmalloc_sync_mappings was removed in v5.8, the vmalloc mappings
openSUSE Build Service is sponsored by