From: Andi Kleen Date: Wed, 12 Mar 2008 02:53:27 +0000 (+0100) Subject: x86: implement true end_pfn_mapped for 32bit X-Git-Tag: v2.6.26-rc1~1154^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d1116a92d709c22e7db910724c9fcd2001b0499;p=pandora-kernel.git x86: implement true end_pfn_mapped for 32bit Even on 32bit 2MB pages can map more memory than is in the true max_low_pfn if end_pfn is not highmem and not aligned to 2MB. Add a end_pfn_map similar to x86-64 that accounts for this fact. This is important for code that really needs to know about all mapping aliases. Signed-off-by: Andi Kleen Cc: andreas.herrmann3@amd.com Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed