Messages in this thread | | | Date | Wed, 8 Mar 2023 11:44:57 +0100 | From | Simon Horman <> | Subject | Re: [PATCH v2 1/2] x86/kexec: Remove unnecessary arch_kexec_kernel_image_load() |
| |
On Tue, Mar 07, 2023 at 04:44:15PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas <bhelgaas@google.com> > > The x86 implementation of arch_kexec_kernel_image_load() is functionally > identical to the generic arch_kexec_kernel_image_load(): > > arch_kexec_kernel_image_load # x86 > if (!image->fops || !image->fops->load) > return ERR_PTR(-ENOEXEC); > return image->fops->load(image, image->kernel_buf, ...) > > arch_kexec_kernel_image_load # generic > kexec_image_load_default > if (!image->fops || !image->fops->load) > return ERR_PTR(-ENOEXEC); > return image->fops->load(image, image->kernel_buf, ...) > > Remove the x86-specific version and use the generic > arch_kexec_kernel_image_load(). No functional change intended. > > Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
| |