diff options
| author | Siddharth Nayyar <sidnayyar@google.com> | 2026-03-26 21:25:06 +0000 |
|---|---|---|
| committer | Sami Tolvanen <samitolvanen@google.com> | 2026-03-31 23:42:52 +0000 |
| commit | b4760ff2a5e4351c59d185967735f59c0b0bd7f6 (patch) | |
| tree | 4519c0980078033b19eee5f8f0f55d9da1f2a85f /kernel/module/internal.h | |
| parent | 55fcb926b6d8b5cfb40873e4840a69961db1bb69 (diff) | |
module: deprecate usage of *_gpl sections in module loader
The *_gpl section are not being used populated by modpost anymore. Hence
the module loader doesn't need to find and process these sections in
modules.
This patch also simplifies symbol finding logic in module loader since
*_gpl sections don't have to be searched anymore.
Signed-off-by: Siddharth Nayyar <sidnayyar@google.com>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'kernel/module/internal.h')
| -rw-r--r-- | kernel/module/internal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/module/internal.h b/kernel/module/internal.h index 69b84510e097..061161cc79d9 100644 --- a/kernel/module/internal.h +++ b/kernel/module/internal.h @@ -53,10 +53,7 @@ extern const size_t modinfo_attrs_count; /* Provided by the linker */ extern const struct kernel_symbol __start___ksymtab[]; extern const struct kernel_symbol __stop___ksymtab[]; -extern const struct kernel_symbol __start___ksymtab_gpl[]; -extern const struct kernel_symbol __stop___ksymtab_gpl[]; extern const u32 __start___kcrctab[]; -extern const u32 __start___kcrctab_gpl[]; extern const u8 __start___kflagstab[]; #define KMOD_PATH_LEN 256 |
