Merge master.kernel.org:/home/rmk/linux-2.6-arm

* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] Fix lh7a40x_udc.c
[ARM] Fix warning in consistent.c
[ARM] Fix warnings in arch/arm/kernel/setup.c
[ARM] Fix ecard.c resource warnings.
[ARM] Fix ISA IRQ resources
[ARM] Fix bad asm instruction in proc-arm925.S
[ARM] More missing proc-macros.S includes
[ARM] 3708/2: fix SMP build after section ioremap changes

+32 -9
+1 -1
arch/arm/kernel/ecard.c
··· 883 883 int i; 884 884 885 885 for (i = 0; i < ECARD_NUM_RESOURCES; i++) 886 - str += sprintf(str, "%08lx %08lx %08lx\n", 886 + str += sprintf(str, "%08x %08x %08lx\n", 887 887 ec->resource[i].start, 888 888 ec->resource[i].end, 889 889 ec->resource[i].flags);
+1 -1
arch/arm/kernel/setup.c
··· 344 344 cpu_cache = *list->cache; 345 345 #endif 346 346 347 - printk("CPU: %s [%08x] revision %d (ARMv%s), cr=%08x\n", 347 + printk("CPU: %s [%08x] revision %d (ARMv%s), cr=%08lx\n", 348 348 cpu_name, processor_id, (int)processor_id & 15, 349 349 proc_arch[cpu_architecture()], cr_alignment); 350 350
+16 -3
arch/arm/mach-footbridge/isa-irq.c
··· 98 98 desc_handle_irq(isa_irq, desc, regs); 99 99 } 100 100 101 - static struct irqaction irq_cascade = { .handler = no_action, .name = "cascade", }; 102 - static struct resource pic1_resource = { "pic1", 0x20, 0x3f }; 103 - static struct resource pic2_resource = { "pic2", 0xa0, 0xbf }; 101 + static struct irqaction irq_cascade = { 102 + .handler = no_action, 103 + .name = "cascade", 104 + }; 105 + 106 + static struct resource pic1_resource = { 107 + .name = "pic1", 108 + .start = 0x20, 109 + .end = 0x3f, 110 + }; 111 + 112 + static struct resource pic2_resource = { 113 + .name = "pic2", 114 + .start = 0xa0, 115 + .end = 0xbf, 116 + }; 104 117 105 118 void __init isa_init_irq(unsigned int host_irq) 106 119 {
+3 -2
arch/arm/mm/ioremap.c
··· 303 303 int err; 304 304 unsigned long addr; 305 305 struct vm_struct * area; 306 - unsigned int cr = get_cr(); 307 306 308 307 /* 309 308 * High mappings must be supersection aligned ··· 316 317 addr = (unsigned long)area->addr; 317 318 318 319 #ifndef CONFIG_SMP 319 - if ((((cpu_architecture() >= CPU_ARCH_ARMv6) && (cr & CR_XP)) || 320 + if ((((cpu_architecture() >= CPU_ARCH_ARMv6) && (get_cr() & CR_XP)) || 320 321 cpu_is_xsc3()) && 321 322 !((__pfn_to_phys(pfn) | size | addr) & ~SUPERSECTION_MASK)) { 322 323 area->flags |= VM_ARM_SECTION_MAPPING; ··· 368 369 369 370 addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr); 370 371 372 + #ifndef CONFIG_SMP 371 373 /* 372 374 * If this is a section based mapping we need to handle it 373 375 * specially as the VM subysystem does not know how to handle ··· 390 390 } 391 391 } 392 392 write_unlock(&vmlist_lock); 393 + #endif 393 394 394 395 if (!section_mapping) 395 396 vunmap(addr);
+2
arch/arm/mm/proc-arm1020.S
··· 34 34 #include <asm/procinfo.h> 35 35 #include <asm/ptrace.h> 36 36 37 + #include "proc-macros.S" 38 + 37 39 /* 38 40 * This is the maximum size of an area which will be invalidated 39 41 * using the single invalidate entry instructions. Anything larger
+2
arch/arm/mm/proc-arm1020e.S
··· 34 34 #include <asm/procinfo.h> 35 35 #include <asm/ptrace.h> 36 36 37 + #include "proc-macros.S" 38 + 37 39 /* 38 40 * This is the maximum size of an area which will be invalidated 39 41 * using the single invalidate entry instructions. Anything larger
+2
arch/arm/mm/proc-arm1022.S
··· 23 23 #include <asm/procinfo.h> 24 24 #include <asm/ptrace.h> 25 25 26 + #include "proc-macros.S" 27 + 26 28 /* 27 29 * This is the maximum size of an area which will be invalidated 28 30 * using the single invalidate entry instructions. Anything larger
+2
arch/arm/mm/proc-arm1026.S
··· 23 23 #include <asm/procinfo.h> 24 24 #include <asm/ptrace.h> 25 25 26 + #include "proc-macros.S" 27 + 26 28 /* 27 29 * This is the maximum size of an area which will be invalidated 28 30 * using the single invalidate entry instructions. Anything larger
+2 -1
arch/arm/mm/proc-arm925.S
··· 454 454 mcr p15, 7, r0, c15, c0, 0 455 455 #endif 456 456 457 - adr r5, {r5, r6} 457 + adr r5, arm925_crval 458 + ldmia r5, {r5, r6} 458 459 mrc p15, 0, r0, c1, c0 @ get control register v4 459 460 bic r0, r0, r5 460 461 orr r0, r0, r6
+1 -1
drivers/usb/gadget/lh7a40x_udc.c
··· 2143 2143 2144 2144 static struct platform_driver udc_driver = { 2145 2145 .probe = lh7a40x_udc_probe, 2146 - .remove = lh7a40x_udc_remove 2146 + .remove = lh7a40x_udc_remove, 2147 2147 /* FIXME power management support */ 2148 2148 /* .suspend = ... disable UDC */ 2149 2149 /* .resume = ... re-enable UDC */