]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-show_mem-remove-show_mem_filter_page_count-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 3 Jan 2014 03:09:42 +0000 (14:09 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:09:42 +0000 (14:09 +1100)
fix parisc

Cc: David Rientjes <rientjes@google.com>
Cc: James Bottomley <jejb@parisc-linux.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/parisc/mm/init.c

index 605bb1cdf1ad461405c52f64492b983753f8e841..ae085ad0fba03827df21874edfb6a6985c3338f8 100644 (file)
@@ -663,9 +663,6 @@ void show_mem(unsigned int filter)
 
                        total += zone->present_pages;
                        reserved = zone->present_pages - zone->managed_pages;
-
-                       if (is_highmem_idx(zoneid))
-                               highmem += zone->present_pages;
                }
                pgdat_resize_unlock(pgdat, &flags);
        }