|
@@ -465,11 +465,11 @@ int module_finalize(const Elf_Ehdr *hdr,
|
|
|
apply_alternatives(aseg, aseg + s->sh_size);
|
|
|
|
|
|
if (IS_ENABLED(CONFIG_EXPOLINE) &&
|
|
|
- (!strcmp(".nospec_call_table", secname)))
|
|
|
+ (!strncmp(".s390_indirect", secname, 14)))
|
|
|
nospec_revert(aseg, aseg + s->sh_size);
|
|
|
|
|
|
if (IS_ENABLED(CONFIG_EXPOLINE) &&
|
|
|
- (!strcmp(".nospec_return_table", secname)))
|
|
|
+ (!strncmp(".s390_return", secname, 12)))
|
|
|
nospec_revert(aseg, aseg + s->sh_size);
|
|
|
}
|
|
|
|