Linux - update module.c

This commit is contained in:
Andrew C
2015-03-03 13:57:24 -06:00
parent ec44ae49c0
commit 9fa690b384
+8
View File
@@ -192,6 +192,14 @@ struct radix_tree_node {
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
#define OUR_OWN_MOD_STRUCTS
#endif
#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,18)
#define OUR_OWN_MOD_STRUCTS
#endif
#ifdef OUR_OWN_MOD_STRUCTS
struct module_sect_attr
{
struct module_attribute mattr;