diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2020-04-29 10:24:52 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-05-08 00:12:43 +0200 |
commit | 5b384f933590a086ca9a0abdc2e55e41107ac440 (patch) | |
tree | c0e8eff59863dce168272dacd518d6ce26d93314 /kernel/utsname_sysctl.c | |
parent | 0d9fbf78fefb421a3af97394ce80bba0db4f046a (diff) | |
download | linux-5b384f933590a086ca9a0abdc2e55e41107ac440.tar.bz2 |
x86/module: Use text_mutex in apply_relocate_add()
Now that the livepatch code no longer needs the text_mutex for changing
module permissions, move its usage down to apply_relocate_add().
Note the s390 version of apply_relocate_add() doesn't need to use the
text_mutex because it already uses s390_kernel_write_lock, which
accomplishes the same task.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions