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 /kernel/kexec_file.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 'kernel/kexec_file.c')
-rw-r--r-- | kernel/kexec_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c index 881ba0d1714c..b5bbb2fe0668 100644 --- a/kernel/kexec_file.c +++ b/kernel/kexec_file.c @@ -624,7 +624,7 @@ int kexec_locate_mem_hole(struct kexec_buf *kbuf) * kexec_add_buffer - place a buffer in a kexec segment * @kbuf: Buffer contents and memory parameters. * - * This function assumes that kexec_mutex is held. + * This function assumes that kexec_lock is held. * On successful return, @kbuf->mem will have the physical address of * the buffer in memory. * |