]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: Remove redundant display of free swap space in show_mem()
authorJohannes Weiner <hannes@saeurebad.de>
Mon, 10 Mar 2008 20:10:57 +0000 (21:10 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:58 +0000 (17:40 +0200)
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c
arch/x86/mm/pgtable_32.c

index 4cb6c7f80f0705f85d072808d36da6fe98344a3f..255e51feb1570a7177fa8b4fda5d1e41620d90c1 100644 (file)
@@ -89,9 +89,6 @@ void show_mem(void)
 
        printk(KERN_INFO "Mem-info:\n");
        show_free_areas();
-       printk(KERN_INFO "Free swap:       %6ldkB\n",
-               nr_swap_pages << (PAGE_SHIFT-10));
-
        for_each_online_pgdat(pgdat) {
                for (i = 0; i < pgdat->node_spanned_pages; ++i) {
                        /*
index 76e4f4d26272967095115d4144fc8bcf4939e2aa..3165ec0672bd1855cb607c6864b83c810c29d729 100644 (file)
@@ -36,7 +36,6 @@ void show_mem(void)
 
        printk(KERN_INFO "Mem-info:\n");
        show_free_areas();
-       printk(KERN_INFO "Free swap:       %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10));
        for_each_online_pgdat(pgdat) {
                pgdat_resize_lock(pgdat, &flags);
                for (i = 0; i < pgdat->node_spanned_pages; ++i) {