summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.33/603-arm-kluin-array-indexing.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-06-24 14:25:07 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-06-24 14:25:07 +0000
commit60b4d65953c5f95d3683365862ccd0a1fb33454e (patch)
tree00ca9900a83e5779dc68aaba473873ea336a4b83 /target/linux/ixp4xx/patches-2.6.33/603-arm-kluin-array-indexing.patch
parent6f4c13a017eba6a710339d232594ea1933417355 (diff)
downloadmtk-20170518-60b4d65953c5f95d3683365862ccd0a1fb33454e.zip
mtk-20170518-60b4d65953c5f95d3683365862ccd0a1fb33454e.tar.gz
mtk-20170518-60b4d65953c5f95d3683365862ccd0a1fb33454e.tar.bz2
ixp4xx: revert kernel support for 2.6.33 & 2.6.35
SVN-Revision: 21890
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.33/603-arm-kluin-array-indexing.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.33/603-arm-kluin-array-indexing.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.33/603-arm-kluin-array-indexing.patch b/target/linux/ixp4xx/patches-2.6.33/603-arm-kluin-array-indexing.patch
deleted file mode 100644
index aca693a..0000000
--- a/target/linux/ixp4xx/patches-2.6.33/603-arm-kluin-array-indexing.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/arch/arm/kernel/setup.c
-+++ b/arch/arm/kernel/setup.c
-@@ -322,12 +322,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.
-@@ -386,13 +387,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.