Fix: MODULE_IMPORT_NS is introduced in kernel 5.4
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 18 Dec 2023 18:17:07 +0000 (13:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 10 Jan 2024 20:15:11 +0000 (15:15 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I4c5faafb3a3ff8178b45c0e411113b17643bbc78

wrapper/kallsyms.c

index 77cdb76c3f150e4da4d02f27aff7819bc7bc3e92..6195154e8bc7f1c21d20a1e3158669f23b0178e5 100644 (file)
@@ -114,6 +114,6 @@ EXPORT_SYMBOL_GPL(wrapper_kallsyms_lookup_name);
 
 #endif
 
-#ifdef CONFIG_ANDROID
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,4,0) && defined(CONFIG_ANDROID))
 MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
 #endif
This page took 0.026443 seconds and 4 git commands to generate.