hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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.