diff --git a/kernel/ksu.c b/kernel/ksu.c index 37a17548..79f10c94 100644 --- a/kernel/ksu.c +++ b/kernel/ksu.c @@ -3,6 +3,7 @@ #include #include #include +#include #include "allowlist.h" #include "arch.h" @@ -94,4 +95,11 @@ module_exit(kernelsu_exit); MODULE_LICENSE("GPL"); MODULE_AUTHOR("weishu"); MODULE_DESCRIPTION("Android KernelSU"); + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0) +MODULE_IMPORT_NS("VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver"); +#else MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +#endif +#endif