diff options
author | Mark Brown <broonie@kernel.org> | 2025-05-20 10:34:09 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-20 10:34:09 +0100 |
commit | 831962e9d7b774d858cfeefc3848e06a2d5599df (patch) | |
tree | c66522409bd3913a89a7ac3d37459d6bb78ee8b8 /arch/x86/kernel/module.c | |
parent | e4dca67b2463e6abe775876c9cb049ea5b1c8e0d (diff) | |
parent | 5b5bf5922f4c104e4e829c0dbfdd9399b7cfc434 (diff) |
Add sound card support for QCS9100 and QCS9075
Merge series from Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>:
This patchset adds support for sound card on Qualcomm QCS9100 and
QCS9075 boards.
Diffstat (limited to 'arch/x86/kernel/module.c')
-rw-r--r-- | arch/x86/kernel/module.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/module.c b/arch/x86/kernel/module.c index a7998f351701..ff07558b7ebc 100644 --- a/arch/x86/kernel/module.c +++ b/arch/x86/kernel/module.c @@ -266,6 +266,8 @@ int module_finalize(const Elf_Ehdr *hdr, ibt_endbr = s; } + its_init_mod(me); + if (retpolines || cfi) { void *rseg = NULL, *cseg = NULL; unsigned int rsize = 0, csize = 0; @@ -286,6 +288,9 @@ int module_finalize(const Elf_Ehdr *hdr, void *rseg = (void *)retpolines->sh_addr; apply_retpolines(rseg, rseg + retpolines->sh_size); } + + its_fini_mod(me); + if (returns) { void *rseg = (void *)returns->sh_addr; apply_returns(rseg, rseg + returns->sh_size); @@ -326,4 +331,5 @@ int module_finalize(const Elf_Ehdr *hdr, void module_arch_cleanup(struct module *mod) { alternatives_smp_module_del(mod); + its_free_mod(mod); } |