kernel/include/linux/moduleloader.h
.. .. @@ -39,6 +39,11 @@ 39 39 */ 40 40 bool module_exit_section(const char *name); 41 41 42 +/* Describes whether within_module_init() will consider this an init section43 + * or not. This behaviour changes with CONFIG_MODULE_UNLOAD.44 + */45 +bool module_init_layout_section(const char *sname);46 +42 47 /* 43 48 * Apply the given relocation to the (simplified) ELF. Return -error 44 49 * or 0.