On Tue, Mar 07, 2023 at 04:44:15PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > > 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@xxxxxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxx> _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec