summaryrefslogtreecommitdiff
path: root/packages/linux/openslug-kernel-2.6.11.2/ixp4xx_copy_from.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-11-11 07:07:34 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-11 07:07:34 +0000
commita90c73d1c0f133ae4e0b32ec9c290597be03b876 (patch)
tree9f741a92308f44b03640e34601343fcad55841dd /packages/linux/openslug-kernel-2.6.11.2/ixp4xx_copy_from.patch
parent894b7f2a3c1ab1fd49948ae812010d23520fc554 (diff)
nslu2-kernel: cleanup openslug, ucslugc and slugos kernels, ALL
- remove old kernel versions - remove openslug-kernel - move patches from openslug-kernel - fix kernel UTS_RELEASE handling (requires change in kernel.bbclass) - fix nslu2-kernel MM build - move to 2.6.14.1 (important security fix)
Diffstat (limited to 'packages/linux/openslug-kernel-2.6.11.2/ixp4xx_copy_from.patch')
-rw-r--r--packages/linux/openslug-kernel-2.6.11.2/ixp4xx_copy_from.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/packages/linux/openslug-kernel-2.6.11.2/ixp4xx_copy_from.patch b/packages/linux/openslug-kernel-2.6.11.2/ixp4xx_copy_from.patch
deleted file mode 100644
index 8d0f187d44..0000000000
--- a/packages/linux/openslug-kernel-2.6.11.2/ixp4xx_copy_from.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- linux-2.6.11/drivers/mtd/maps/ixp4xx.c.orig 2005-03-05 20:00:28.000000000 +0100
-+++ linux-2.6.11/drivers/mtd/maps/ixp4xx.c 2005-03-05 22:10:48.000000000 +0100
-@@ -29,6 +29,8 @@
- #include <asm/mach-types.h>
- #include <asm/mach/flash.h>
-
-+#include <asm/unaligned.h>
-+
- #include <linux/reboot.h>
-
- #ifndef __ARMEB__
-@@ -60,13 +62,13 @@ static void ixp4xx_copy_from(struct map_
- u16 data;
-
- for (i = 0; i < (len / 2); i++) {
-- data = src[i];
-+ data = get_unaligned((u16*)(src + i));
- dest[i * 2] = BYTE0(data);
- dest[i * 2 + 1] = BYTE1(data);
- }
-
- if (len & 1)
-- dest[len - 1] = BYTE0(src[i]);
-+ dest[len - 1] = BYTE0(get_unaligned((u16*)(src + i)));
- }
-
- /*