summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.35/023-mips-fix-kexec.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-06-07 05:56:49 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-06-07 05:56:49 +0000
commit4503e77b0d53f912cbf9b32a14df71f61a9b1609 (patch)
tree14fd49a64056b8b9c39a14b92e06242d7801bc45 /target/linux/generic-2.6/patches-2.6.35/023-mips-fix-kexec.patch
parenta2225b8b293cd71d420b96d46c88ad612f3637be (diff)
downloadmtk-20170518-4503e77b0d53f912cbf9b32a14df71f61a9b1609.zip
mtk-20170518-4503e77b0d53f912cbf9b32a14df71f61a9b1609.tar.gz
mtk-20170518-4503e77b0d53f912cbf9b32a14df71f61a9b1609.tar.bz2
generic-2.6: add kernel 2.6.35 preliminary support (patches)
SVN-Revision: 21696
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.35/023-mips-fix-kexec.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.35/023-mips-fix-kexec.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.35/023-mips-fix-kexec.patch b/target/linux/generic-2.6/patches-2.6.35/023-mips-fix-kexec.patch
new file mode 100644
index 0000000..e6928dd
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.35/023-mips-fix-kexec.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/kernel/machine_kexec.c
++++ b/arch/mips/kernel/machine_kexec.c
+@@ -52,7 +52,7 @@ machine_kexec(struct kimage *image)
+ reboot_code_buffer =
+ (unsigned long)page_address(image->control_code_page);
+
+- kexec_start_address = image->start;
++ kexec_start_address = (unsigned long) phys_to_virt(image->start);
+ kexec_indirection_page =
+ (unsigned long) phys_to_virt(image->head & PAGE_MASK);
+