forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 093a6c67005148ae32a5c9e4553491b9f5c2457b
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.