]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
module: deprecate usage of *_gpl sections in module loader
authorSiddharth Nayyar <sidnayyar@google.com>
Thu, 26 Mar 2026 21:25:06 +0000 (21:25 +0000)
committerSami Tolvanen <samitolvanen@google.com>
Tue, 31 Mar 2026 23:42:52 +0000 (23:42 +0000)
commitb4760ff2a5e4351c59d185967735f59c0b0bd7f6
tree4519c0980078033b19eee5f8f0f55d9da1f2a85f
parent55fcb926b6d8b5cfb40873e4840a69961db1bb69
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>
include/linux/module.h
kernel/module/internal.h
kernel/module/main.c