]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
module: refactor load_module part 5
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 18:59:05 +0000 (12:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 03:29:05 +0000 (12:59 +0930)
commit22e268ebecc549f1b1907f114cb44d6044bdee3c
treea1159e36de2a0ed6d3dcadd61622976971dd3b2d
parent9f85a4bbb1cf56f65b3d065a5f88204a757f2325
module: refactor load_module part 5

1) Extract out the relocation loop into apply_relocations
2) Extract license and version checks into check_module_license_and_versions
3) Extract icache flushing into flush_module_icache
4) Move __obsparm warning into find_module_sections
5) Move license setting into check_modinfo.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c