diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-11-02 12:01:56 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-11-02 12:01:56 +0000 |
commit | 4c543cfd895ab6735711fc658cbd9f83b8aad1a7 (patch) | |
tree | 54663ffb1aa866c861c4ee55472ef51a6a34fe8a /target/linux/ixp4xx/patches-2.6.33/603-arm-kluin-array-indexing.patch | |
parent | abb1a5781fc7f1b7ae192176faa1690ac83bfbc5 (diff) | |
download | master-187ad058-4c543cfd895ab6735711fc658cbd9f83b8aad1a7.tar.gz master-187ad058-4c543cfd895ab6735711fc658cbd9f83b8aad1a7.tar.bz2 master-187ad058-4c543cfd895ab6735711fc658cbd9f83b8aad1a7.zip |
[ixp4xx]: support only 2.6.32 and 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23773 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 33 |
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 aca693a41c..0000000000 --- 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. |