summaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-10-17 21:40:46 +0200
committerThomas Gleixner <tglx@linutronix.de>2023-10-17 21:40:46 +0200
commita940daa52167e9db8ecce82213813b735a9d9f23 (patch)
treed5346c51351ccd1da7532cbec3127e6b73ec59c9 /include/linux/moduleloader.h
parent32e4fa37fa667fdf53499b9de92737dc75199d8e (diff)
parent58720809f52779dc0f08e53e54b014209d13eebb (diff)
Merge branch 'linus' into smp/core
Pull in upstream to get the fixes so depending changes can be applied.
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.