1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:01:55 +02:00

package/kexec-tools: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20466 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2010-03-26 14:28:45 +00:00
parent 10b8a21dd1
commit 6242a6e00e
2 changed files with 22 additions and 37 deletions

View File

@ -1,6 +1,5 @@
diff -urN kexec-tools-testing-20080324/kexec/arch/mips/regdef.h kexec-tools-testing-20080324.new/kexec/arch/mips/regdef.h --- /dev/null
--- kexec-tools-testing-20080324/kexec/arch/mips/regdef.h 1970-01-01 01:00:00.000000000 +0100 +++ b/kexec/arch/mips/regdef.h
+++ kexec-tools-testing-20080324.new/kexec/arch/mips/regdef.h 2008-07-18 13:37:18.000000000 +0200
@@ -0,0 +1,100 @@ @@ -0,0 +1,100 @@
+/* +/*
+ * This file is subject to the terms and conditions of the GNU General Public + * This file is subject to the terms and conditions of the GNU General Public

View File

@ -1,7 +1,5 @@
Index: kexec-tools-2.0.1/kexec/arch/mips/Makefile --- a/kexec/arch/mips/Makefile
=================================================================== +++ b/kexec/arch/mips/Makefile
--- kexec-tools-2.0.1.orig/kexec/arch/mips/Makefile 2008-07-15 02:46:43.000000000 +0200
+++ kexec-tools-2.0.1/kexec/arch/mips/Makefile 2009-09-27 19:07:26.000000000 +0200
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
mips_KEXEC_SRCS = kexec/arch/mips/kexec-mips.c mips_KEXEC_SRCS = kexec/arch/mips/kexec-mips.c
mips_KEXEC_SRCS += kexec/arch/mips/kexec-elf-mips.c mips_KEXEC_SRCS += kexec/arch/mips/kexec-elf-mips.c
@ -11,10 +9,8 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/Makefile
mips_ADD_BUFFER = mips_ADD_BUFFER =
mips_ADD_SEGMENT = mips_ADD_SEGMENT =
Index: kexec-tools-2.0.1/kexec/arch/mips/crashdump-mips.c --- /dev/null
=================================================================== +++ b/kexec/arch/mips/crashdump-mips.c
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ kexec-tools-2.0.1/kexec/arch/mips/crashdump-mips.c 2009-09-27 19:07:26.000000000 +0200
@@ -0,0 +1,371 @@ @@ -0,0 +1,371 @@
+/* +/*
+ * kexec: Linux boots Linux + * kexec: Linux boots Linux
@ -387,10 +383,8 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/crashdump-mips.c
+ (start != end) : 0; + (start != end) : 0;
+} +}
+ +
Index: kexec-tools-2.0.1/kexec/arch/mips/crashdump-mips.h --- /dev/null
=================================================================== +++ b/kexec/arch/mips/crashdump-mips.h
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ kexec-tools-2.0.1/kexec/arch/mips/crashdump-mips.h 2009-09-27 19:07:26.000000000 +0200
@@ -0,0 +1,26 @@ @@ -0,0 +1,26 @@
+#ifndef CRASHDUMP_MIPS_H +#ifndef CRASHDUMP_MIPS_H
+#define CRASHDUMP_MIPS_H +#define CRASHDUMP_MIPS_H
@ -418,10 +412,8 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/crashdump-mips.h
+#define BACKUP_SRC_SIZE (BACKUP_SRC_END - BACKUP_SRC_START + 1) +#define BACKUP_SRC_SIZE (BACKUP_SRC_END - BACKUP_SRC_START + 1)
+ +
+#endif /* CRASHDUMP_MIPS_H */ +#endif /* CRASHDUMP_MIPS_H */
Index: kexec-tools-2.0.1/kexec/arch/mips/include/arch/options.h --- a/kexec/arch/mips/include/arch/options.h
=================================================================== +++ b/kexec/arch/mips/include/arch/options.h
--- kexec-tools-2.0.1.orig/kexec/arch/mips/include/arch/options.h 2008-07-15 02:46:43.000000000 +0200
+++ kexec-tools-2.0.1/kexec/arch/mips/include/arch/options.h 2009-09-27 19:18:21.000000000 +0200
@@ -2,10 +2,21 @@ @@ -2,10 +2,21 @@
#define KEXEC_ARCH_MIPS_OPTIONS_H #define KEXEC_ARCH_MIPS_OPTIONS_H
@ -444,10 +436,8 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/include/arch/options.h
+#endif +#endif
#endif /* KEXEC_ARCH_MIPS_OPTIONS_H */ #endif /* KEXEC_ARCH_MIPS_OPTIONS_H */
Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-elf-mips.c --- a/kexec/arch/mips/kexec-elf-mips.c
=================================================================== +++ b/kexec/arch/mips/kexec-elf-mips.c
--- kexec-tools-2.0.1.orig/kexec/arch/mips/kexec-elf-mips.c 2008-07-15 02:46:43.000000000 +0200
+++ kexec-tools-2.0.1/kexec/arch/mips/kexec-elf-mips.c 2009-09-27 19:16:39.000000000 +0200
@@ -25,51 +25,18 @@ @@ -25,51 +25,18 @@
#include <ip_checksum.h> #include <ip_checksum.h>
#include "../../kexec.h" #include "../../kexec.h"
@ -504,7 +494,7 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-elf-mips.c
int elf_mips_probe(const char *buf, off_t len) int elf_mips_probe(const char *buf, off_t len)
{ {
@@ -108,16 +75,14 @@ @@ -108,16 +75,14 @@ int elf_mips_load(int argc, char **argv,
struct kexec_info *info) struct kexec_info *info)
{ {
struct mem_ehdr ehdr; struct mem_ehdr ehdr;
@ -528,7 +518,7 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-elf-mips.c
static const struct option options[] = { static const struct option options[] = {
KEXEC_ARCH_OPTIONS KEXEC_ARCH_OPTIONS
{"command-line", 1, 0, OPT_APPEND}, {"command-line", 1, 0, OPT_APPEND},
@@ -144,38 +109,81 @@ @@ -144,38 +109,81 @@ int elf_mips_load(int argc, char **argv,
break; break;
} }
} }
@ -636,11 +626,9 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-elf-mips.c
return 0; return 0;
} }
Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-mips.c --- a/kexec/arch/mips/kexec-mips.c
=================================================================== +++ b/kexec/arch/mips/kexec-mips.c
--- kexec-tools-2.0.1.orig/kexec/arch/mips/kexec-mips.c 2008-07-15 02:46:43.000000000 +0200 @@ -97,8 +97,18 @@ int file_types = sizeof(file_type) / siz
+++ kexec-tools-2.0.1/kexec/arch/mips/kexec-mips.c 2009-09-27 19:20:25.000000000 +0200
@@ -97,8 +97,18 @@
void arch_usage(void) void arch_usage(void)
{ {
@ -659,7 +647,7 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-mips.c
int arch_process_options(int argc, char **argv) int arch_process_options(int argc, char **argv)
{ {
static const struct option options[] = { static const struct option options[] = {
@@ -113,6 +123,11 @@ @@ -113,6 +123,11 @@ int arch_process_options(int argc, char
switch(opt) { switch(opt) {
default: default:
break; break;
@ -671,7 +659,7 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-mips.c
} }
} }
/* Reset getopt for the next pass; called in other source modules */ /* Reset getopt for the next pass; called in other source modules */
@@ -126,6 +141,10 @@ @@ -126,6 +141,10 @@ const struct arch_map_entry arches[] = {
* use KEXEC_ARCH_DEFAULT instead of KEXEC_ARCH_MIPS here. * use KEXEC_ARCH_DEFAULT instead of KEXEC_ARCH_MIPS here.
*/ */
{ "mips", KEXEC_ARCH_DEFAULT }, { "mips", KEXEC_ARCH_DEFAULT },
@ -682,7 +670,7 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-mips.c
{ 0 }, { 0 },
}; };
@@ -138,18 +157,9 @@ @@ -138,18 +157,9 @@ void arch_update_purgatory(struct kexec_
{ {
} }
@ -702,10 +690,8 @@ Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-mips.c
} }
/* /*
Index: kexec-tools-2.0.1/kexec/arch/mips/kexec-mips.h --- a/kexec/arch/mips/kexec-mips.h
=================================================================== +++ b/kexec/arch/mips/kexec-mips.h
--- kexec-tools-2.0.1.orig/kexec/arch/mips/kexec-mips.h 2008-07-15 02:46:43.000000000 +0200
+++ kexec-tools-2.0.1/kexec/arch/mips/kexec-mips.h 2009-09-27 19:21:32.000000000 +0200
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
#ifndef KEXEC_MIPS_H #ifndef KEXEC_MIPS_H
#define KEXEC_MIPS_H #define KEXEC_MIPS_H