git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel: constructor support
[safe/jmp/linux-2.6]
/
include
/
linux
/
module.h
diff --git
a/include/linux/module.h
b/include/linux/module.h
index
505f20d
..
098bdb7
100644
(file)
--- a/
include/linux/module.h
+++ b/
include/linux/module.h
@@
-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 {}