hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
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.