diff options
author | Wenyu Liu <liuwenyu7@huawei.com> | 2023-08-07 05:52:06 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2023-08-07 16:55:42 +0300 |
commit | 55e2b69649be38f1788b38755070875b96111d2f (patch) | |
tree | 5d0789c720e8a8ea7b319c483421c75701008ed4 /security/integrity/ima/ima_kexec.c | |
parent | 56dc986a6b20b20aab1b76e0d8bff79954a00333 (diff) | |
download | linux-55e2b69649be38f1788b38755070875b96111d2f.tar.xz |
kexec_lock: Replace kexec_mutex() by kexec_lock() in two comments
kexec_mutex is replaced by an atomic variable
in 05c6257433b (panic, kexec: make __crash_kexec() NMI safe).
But there are still two comments that referenced kexec_mutex,
replace them by kexec_lock.
Signed-off-by: Wenyu Liu <liuwenyu7@huawei.com>
Acked-by: Baoquan He <bhe@redhat.com>
Acked-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_kexec.c')
-rw-r--r-- | security/integrity/ima/ima_kexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_kexec.c b/security/integrity/ima/ima_kexec.c index 419dc405c831..ad133fe120db 100644 --- a/security/integrity/ima/ima_kexec.c +++ b/security/integrity/ima/ima_kexec.c @@ -77,7 +77,7 @@ out: * Called during kexec_file_load so that IMA can add a segment to the kexec * image for the measurement list for the next kernel. * - * This function assumes that kexec_mutex is held. + * This function assumes that kexec_lock is held. */ void ima_add_kexec_buffer(struct kimage *image) { |