kernel: constructor support
[safe/jmp/linux-2.6] / include / linux / module.h
index 505f20d..098bdb7 100644 (file)
@@ -363,6 +363,12 @@ struct module
        local_t ref;
 #endif
 #endif
+
+#ifdef CONFIG_CONSTRUCTORS
+       /* Constructor functions. */
+       ctor_fn_t *ctors;
+       unsigned int num_ctors;
+#endif
 };
 #ifndef MODULE_ARCH_INIT
 #define MODULE_ARCH_INIT {}