fix a crash in mtd_concat when the .sync op is not implemented
[openwrt.git] / target / linux / generic / patches-2.6.31 / 023-mips-fix-kexec.patch
1 --- a/arch/mips/kernel/machine_kexec.c
2 +++ b/arch/mips/kernel/machine_kexec.c
3 @@ -52,7 +52,7 @@ machine_kexec(struct kimage *image)
4 reboot_code_buffer =
5 (unsigned long)page_address(image->control_code_page);
6
7 - kexec_start_address = image->start;
8 + kexec_start_address = (unsigned long) phys_to_virt(image->start);
9 kexec_indirection_page =
10 (unsigned long) phys_to_virt(image->head & PAGE_MASK);
11
This page took 0.040094 seconds and 5 git commands to generate.