diff options
Diffstat (limited to 'recipes/kexec-tools/kexec-tools-2.0.1/fix-arm-arch-detection.patch')
-rw-r--r-- | recipes/kexec-tools/kexec-tools-2.0.1/fix-arm-arch-detection.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/recipes/kexec-tools/kexec-tools-2.0.1/fix-arm-arch-detection.patch b/recipes/kexec-tools/kexec-tools-2.0.1/fix-arm-arch-detection.patch deleted file mode 100644 index 6116c5bb84..0000000000 --- a/recipes/kexec-tools/kexec-tools-2.0.1/fix-arm-arch-detection.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- kexec-tools/kexec/phys_arch.c.old 2008-07-15 02:46:43.000000000 +0200 -+++ kexec-tools/kexec/phys_arch.c 2009-10-04 23:58:04.000000000 +0200 -@@ -13,9 +13,12 @@ - return -1; - } - -- for (i = 0; arches[i].machine; ++i) -- if (strcmp(utsname.machine, arches[i].machine) == 0) -+ for (i = 0; arches[i].machine; ++i) { -+ if ((strcmp(arches[i].machine, "arm") == 0) && (strncmp(utsname.machine, arches[i].machine, 3) == 0)) -+ return arches[i].arch; -+ if (strcmp(utsname.machine, arches[i].machine) == 0) - return arches[i].arch; -+ } - - fprintf(stderr, "Unsupported machine type: %s\n", - utsname.machine); |