]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - include/linux/moduleloader.h
module: allow arch overrides for .exit section names
[mirror_ubuntu-jammy-kernel.git] / include / linux / moduleloader.h
index 31013c2effd3d5c7b148d601dff665e8ed10e7b1..5229c18025e97166245b7eb048fc8903d14b07e5 100644 (file)
@@ -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 exit section (that is only used during
+ * module unloading)
+ */
+bool module_exit_section(const char *name);
+
 /*
  * Apply the given relocation to the (simplified) ELF.  Return -error
  * or 0.