hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/include/linux/moduleloader.h
....@@ -39,6 +39,11 @@
3939 */
4040 bool module_exit_section(const char *name);
4141
42
+/* Describes whether within_module_init() will consider this an init section
43
+ * or not. This behaviour changes with CONFIG_MODULE_UNLOAD.
44
+ */
45
+bool module_init_layout_section(const char *sname);
46
+
4247 /*
4348 * Apply the given relocation to the (simplified) ELF. Return -error
4449 * or 0.