summaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2023-09-18 23:17:15 +0300
committerIngo Molnar <mingo@kernel.org>2023-09-18 23:17:15 +0300
commit6f23fc47c1b2ac226704fb7294f43ed3b0965e51 (patch)
tree079303a4d4ed8489537ab300f129581ec9ca2594 /include/linux/moduleloader.h
parente35a6cf1cc343d720ad235f678f1cd2a9876b777 (diff)
parentce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff)
downloadlinux-6f23fc47c1b2ac226704fb7294f43ed3b0965e51.tar.xz
Merge tag 'v6.6-rc2' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/moduleloader.h')
-rw-r--r--include/linux/moduleloader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/moduleloader.h b/include/linux/moduleloader.h
index 03be088fb439..001b2ce83832 100644
--- a/include/linux/moduleloader.h
+++ b/include/linux/moduleloader.h
@@ -42,6 +42,11 @@ bool module_init_section(const char *name);
*/
bool module_exit_section(const char *name);
+/* Describes whether within_module_init() will consider this an init section
+ * or not. This behaviour changes with CONFIG_MODULE_UNLOAD.
+ */
+bool module_init_layout_section(const char *sname);
+
/*
* Apply the given relocation to the (simplified) ELF. Return -error
* or 0.