~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/sparc/mm/init_32.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include <asm/prom.h>
38
38
#include <asm/leon.h>
39
39
 
40
 
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
41
 
 
42
40
unsigned long *sparc_valid_addr_bitmap;
43
41
EXPORT_SYMBOL(sparc_valid_addr_bitmap);
44
42
 
75
73
        kmap_prot = __pgprot(SRMMU_ET_PTE | SRMMU_PRIV | SRMMU_CACHE);
76
74
}
77
75
 
78
 
void show_mem(void)
 
76
void show_mem(unsigned int filter)
79
77
{
80
78
        printk("Mem-info:\n");
81
 
        show_free_areas();
 
79
        show_free_areas(filter);
82
80
        printk("Free swap:       %6ldkB\n",
83
81
               nr_swap_pages << (PAGE_SHIFT-10));
84
82
        printk("%ld pages of RAM\n", totalram_pages);
342
340
                prom_printf("paging_init: sparc_cpu_model = %d\n", sparc_cpu_model);
343
341
                prom_printf("paging_init: Halting...\n");
344
342
                prom_halt();
345
 
        };
 
343
        }
346
344
 
347
345
        /* Initialize the protection map with non-constant, MMU dependent values. */
348
346
        protection_map[0] = PAGE_NONE;