diff options
Diffstat (limited to 'arch/sparc/mm/init_32.c')
-rw-r--r-- | arch/sparc/mm/init_32.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c index 6d0e02c4fe09..7b00de61c5f1 100644 --- a/arch/sparc/mm/init_32.c +++ b/arch/sparc/mm/init_32.c | |||
@@ -37,8 +37,6 @@ | |||
37 | #include <asm/prom.h> | 37 | #include <asm/prom.h> |
38 | #include <asm/leon.h> | 38 | #include <asm/leon.h> |
39 | 39 | ||
40 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | ||
41 | |||
42 | unsigned long *sparc_valid_addr_bitmap; | 40 | unsigned long *sparc_valid_addr_bitmap; |
43 | EXPORT_SYMBOL(sparc_valid_addr_bitmap); | 41 | EXPORT_SYMBOL(sparc_valid_addr_bitmap); |
44 | 42 | ||
@@ -75,10 +73,10 @@ void __init kmap_init(void) | |||
75 | kmap_prot = __pgprot(SRMMU_ET_PTE | SRMMU_PRIV | SRMMU_CACHE); | 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 | printk("Mem-info:\n"); | 78 | printk("Mem-info:\n"); |
81 | show_free_areas(); | 79 | show_free_areas(filter); |
82 | printk("Free swap: %6ldkB\n", | 80 | printk("Free swap: %6ldkB\n", |
83 | nr_swap_pages << (PAGE_SHIFT-10)); | 81 | nr_swap_pages << (PAGE_SHIFT-10)); |
84 | printk("%ld pages of RAM\n", totalram_pages); | 82 | printk("%ld pages of RAM\n", totalram_pages); |
@@ -342,7 +340,7 @@ void __init paging_init(void) | |||
342 | prom_printf("paging_init: sparc_cpu_model = %d\n", sparc_cpu_model); | 340 | prom_printf("paging_init: sparc_cpu_model = %d\n", sparc_cpu_model); |
343 | prom_printf("paging_init: Halting...\n"); | 341 | prom_printf("paging_init: Halting...\n"); |
344 | prom_halt(); | 342 | prom_halt(); |
345 | }; | 343 | } |
346 | 344 | ||
347 | /* Initialize the protection map with non-constant, MMU dependent values. */ | 345 | /* Initialize the protection map with non-constant, MMU dependent values. */ |
348 | protection_map[0] = PAGE_NONE; | 346 | protection_map[0] = PAGE_NONE; |