]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/um/kernel/mem.c
mm/um: prepare for removing num_physpages and simplify mem_init()
[karo-tx-linux.git] / arch / um / kernel / mem.c
index b0c763094ffb034daa161bed8a207d6505f22c37..7ddb64baf3270620ae608e4764407ccbfe36dd7b 100644 (file)
@@ -70,10 +70,8 @@ void __init mem_init(void)
 #ifdef CONFIG_HIGHMEM
        setup_highmem(end_iomem, highmem);
 #endif
-       num_physpages = totalram_pages;
        max_pfn = totalram_pages;
-       printk(KERN_INFO "Memory: %luk available\n",
-              nr_free_pages() << (PAGE_SHIFT-10));
+       mem_init_print_info(NULL);
        kmalloc_ok = 1;
 }