diff options
Diffstat (limited to 'include/linux/moduleloader.h')
| -rw-r--r-- | include/linux/moduleloader.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/moduleloader.h b/include/linux/moduleloader.h index 31013c2effd3..5229c18025e9 100644 --- a/include/linux/moduleloader.h +++ b/include/linux/moduleloader.h | |||
| @@ -29,6 +29,11 @@ void *module_alloc(unsigned long size); | |||
| 29 | /* Free memory returned from module_alloc. */ | 29 | /* Free memory returned from module_alloc. */ |
| 30 | void module_memfree(void *module_region); | 30 | void module_memfree(void *module_region); |
| 31 | 31 | ||
| 32 | /* Determines if the section name is an exit section (that is only used during | ||
| 33 | * module unloading) | ||
| 34 | */ | ||
| 35 | bool module_exit_section(const char *name); | ||
| 36 | |||
| 32 | /* | 37 | /* |
| 33 | * Apply the given relocation to the (simplified) ELF. Return -error | 38 | * Apply the given relocation to the (simplified) ELF. Return -error |
| 34 | * or 0. | 39 | * or 0. |
