hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
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.