From: Pekka Enberg Date: Wed, 4 Mar 2009 08:16:07 +0000 (+0200) Subject: x86: set_highmem_pages_init() cleanup, #2 X-Git-Tag: v2.6.30-rc1~2^2~50^2~4^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6298e719cf388f43b674f43799af467d3e4e5aa7;p=pandora-kernel.git x86: set_highmem_pages_init() cleanup, #2 Impact: cleanup The zones are set up at this stage so there's a highmem zone available even for the UMA case. The only difference there is that for machines that have CONFIG_HIGHMEM enabled but don't have any highmem available, ->zone_start_pfn is zero whereas highstart_pfn is non-zero). The field is left zeroed because of the !size test in free_area_init_core() but shouldn't be a problem because add_highpages_with_active_regions() handles empty ranges just fine. Signed-off-by: Pekka Enberg Cc: Mel Gorman LKML-Reference: <1236154567.29024.23.camel@penberg-laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed