aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-11-02 12:01:56 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-11-02 12:01:56 +0000
commit6e3a7fea2066d8902c7e63c79bd198a99a907305 (patch)
treecd60ad7975014d5f9b596339cec5dfc4bd562381 /target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch
parent68dbac93fce5c03a7c336cdd1a28ae424c8d8ffd (diff)
downloadupstream-6e3a7fea2066d8902c7e63c79bd198a99a907305.tar.gz
upstream-6e3a7fea2066d8902c7e63c79bd198a99a907305.tar.bz2
upstream-6e3a7fea2066d8902c7e63c79bd198a99a907305.zip
support only 2.6.32 and 2.6.36
SVN-Revision: 23773
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch b/target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch
deleted file mode 100644
index 3a8c80d742..0000000000
--- a/target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/arch/arm/kernel/setup.c
-+++ b/arch/arm/kernel/setup.c
-@@ -323,12 +323,13 @@ static void __init setup_processor(void)
- void cpu_init(void)
- {
- unsigned int cpu = smp_processor_id();
-- struct stack *stk = &stacks[cpu];
-+ struct stack *stk;
-
- if (cpu >= NR_CPUS) {
- printk(KERN_CRIT "CPU%u: bad primary CPU number\n", cpu);
- BUG();
- }
-+ stk = &stacks[cpu];
-
- /*
- * Define the placement constraint for the inline asm directive below.
-@@ -387,13 +388,14 @@ static struct machine_desc * __init setu
-
- static int __init arm_add_memory(unsigned long start, unsigned long size)
- {
-- struct membank *bank = &meminfo.bank[meminfo.nr_banks];
-+ struct membank *bank;
-
- if (meminfo.nr_banks >= NR_BANKS) {
- printk(KERN_CRIT "NR_BANKS too low, "
- "ignoring memory at %#lx\n", start);
- return -EINVAL;
- }
-+ bank = &meminfo.bank[meminfo.nr_banks];
-
- /*
- * Ensure that start/size are aligned to a page boundary.