diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-04-09 19:26:57 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-04-09 19:26:57 +0000 |
commit | 222390bafc58e2ee30f29f678436bdd8e5b608d6 (patch) | |
tree | c1fa50b64fa3e344a661d3f3f6efd9bd38478361 /target/linux/generic-2.6/patches-2.6.30 | |
parent | b87e590b248286ac262d544414ac1d97a3f912d6 (diff) | |
download | upstream-222390bafc58e2ee30f29f678436bdd8e5b608d6.tar.gz upstream-222390bafc58e2ee30f29f678436bdd8e5b608d6.tar.bz2 upstream-222390bafc58e2ee30f29f678436bdd8e5b608d6.zip |
refresh patches
SVN-Revision: 20767
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.30')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.30/023-mips-fix-kexec.patch | 6 | ||||
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.30/029-mips_kexec.patch | 15 |
2 files changed, 5 insertions, 16 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.30/023-mips-fix-kexec.patch b/target/linux/generic-2.6/patches-2.6.30/023-mips-fix-kexec.patch index e51005f308..e6928dde91 100644 --- a/target/linux/generic-2.6/patches-2.6.30/023-mips-fix-kexec.patch +++ b/target/linux/generic-2.6/patches-2.6.30/023-mips-fix-kexec.patch @@ -1,6 +1,6 @@ ---- a/arch/mips/kernel/machine_kexec.c 2010-03-15 15:52:04.000000000 +0000 -+++ b/arch/mips/kernel/machine_kexec.c 2010-03-29 12:10:37.000000000 +0100 -@@ -52,7 +52,7 @@ +--- 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); diff --git a/target/linux/generic-2.6/patches-2.6.30/029-mips_kexec.patch b/target/linux/generic-2.6/patches-2.6.30/029-mips_kexec.patch index 49b80e7d4f..0eebacfa3f 100644 --- a/target/linux/generic-2.6/patches-2.6.30/029-mips_kexec.patch +++ b/target/linux/generic-2.6/patches-2.6.30/029-mips_kexec.patch @@ -349,18 +349,7 @@ create mode 100644 arch/mips/kernel/crash_dump.c typedef void (*noretfun_t)(void) __attribute__((noreturn)); void -@@ -52,7 +73,9 @@ 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); - -@@ -63,7 +86,7 @@ machine_kexec(struct kimage *image) +@@ -63,7 +84,7 @@ machine_kexec(struct kimage *image) * The generic kexec code builds a page list with physical * addresses. they are directly accessible through KSEG0 (or * CKSEG0 or XPHYS if on 64bit system), hence the @@ -369,7 +358,7 @@ create mode 100644 arch/mips/kernel/crash_dump.c */ for (ptr = &image->head; (entry = *ptr) && !(entry &IND_DONE); ptr = (entry & IND_INDIRECTION) ? -@@ -78,8 +101,39 @@ machine_kexec(struct kimage *image) +@@ -78,8 +99,39 @@ machine_kexec(struct kimage *image) */ local_irq_disable(); |