Merge branch 'misc' into devel
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 31 Jul 2010 13:20:02 +0000 (14:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 31 Jul 2010 13:20:02 +0000 (14:20 +0100)
Conflicts:
arch/arm/mm/init.c

1  2 
arch/arm/Kconfig
arch/arm/include/asm/memory.h
arch/arm/kernel/machine_kexec.c
arch/arm/mach-ixp4xx/common-pci.c
arch/arm/mm/init.c
arch/arm/mm/mmu.c

Simple merge
Simple merge
index 81e989858d42b33dcfe442abcccdaa4bec66dff4,df5958f6864fcde5cb3b8f1957f1cc589e0edd2e..1fc74cbd1a193ee4dcd2fd50afdd279804d9e5fd
@@@ -37,16 -37,8 +37,12 @@@ void machine_kexec_cleanup(struct kimag
  {
  }
  
- void machine_shutdown(void)
- {
- }
  void machine_crash_shutdown(struct pt_regs *regs)
  {
 +      local_irq_disable();
 +      crash_save_cpu(regs, smp_processor_id());
 +
 +      printk(KERN_INFO "Loading crashdump kernel...\n");
  }
  
  void machine_kexec(struct kimage *image)
Simple merge
index 599d121c81e7d6b6beaddb8a784f1e4130b502b3,e00404e6f45b6d3f6d2ea166061a87151fd153ea..240b68d511dc1437c6fcb8bbfb491582fea72280
@@@ -431,14 -528,26 +431,19 @@@ static void __init free_unused_memmap(s
  void __init mem_init(void)
  {
        unsigned long reserved_pages, free_pages;
 -      int i, node;
 +      int i;
+ #ifdef CONFIG_HAVE_TCM
+       /* These pointers are filled in on TCM detection */
+       extern u32 dtcm_end;
+       extern u32 itcm_end;
+ #endif
  
 -#ifndef CONFIG_DISCONTIGMEM
        max_mapnr   = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map;
 -#endif
  
        /* this will put all unused low memory onto the freelists */
 -      for_each_online_node(node) {
 -              pg_data_t *pgdat = NODE_DATA(node);
 -
 -              free_unused_memmap_node(node, &meminfo);
 +      free_unused_memmap(&meminfo);
  
 -              if (pgdat->node_spanned_pages != 0)
 -                      totalram_pages += free_all_bootmem_node(pgdat);
 -      }
 +      totalram_pages += free_all_bootmem();
  
  #ifdef CONFIG_SA1111
        /* now that our DMA memory is actually so designated, we can free it */
Simple merge