summaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-05-26 12:47:07 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-05-26 12:47:07 +0100
commit03c7f5f0b844e9f652e87daf5c51bb93ccf75296 (patch)
tree140ab988587f2909b890b30c689669aa2a4ad82d /include/linux/moduleloader.h
parent3866f217aaa81bf7165c7f27362eee5d7919c496 (diff)
parentfb597f2a393294f3d3012ecb314f43b60fa48359 (diff)
Merge branches 'fixes' and 'misc' into for-next
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 ca92aea8a6bd..4fa67a8b2265 100644
--- a/include/linux/moduleloader.h
+++ b/include/linux/moduleloader.h
@@ -29,6 +29,11 @@ void *module_alloc(unsigned long size);
/* Free memory returned from module_alloc. */
void module_memfree(void *module_region);
+/* Determines if the section name is an init section (that is only used during
+ * module loading).
+ */
+bool module_init_section(const char *name);
+
/* Determines if the section name is an exit section (that is only used during
* module unloading)
*/