diff --git a/CHANGES b/CHANGES index 3b44b715..9c30c750 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,6 @@ The following major changes have been made since 0.9.8: + *) Support new longterm kernels 5.10.220+ *) Re-support build without CONFIG_TRACEPOINTS (was broken in 0.9.8) diff --git a/src/modules/kmod/p_kmod.c b/src/modules/kmod/p_kmod.c index 224db38e..11611596 100644 --- a/src/modules/kmod/p_kmod.c +++ b/src/modules/kmod/p_kmod.c @@ -38,7 +38,7 @@ int p_kmod_init(void) { P_SYM_INIT(modules) P_SYM_INIT(module_kset) -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,12,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,220) P_SYM_INIT(module_mutex) P_SYM_INIT(find_module) #else