]> err.no Git - linux-2.6/commit
x86: implement true end_pfn_mapped for 32bit
authorAndi Kleen <andi@firstfloor.org>
Wed, 12 Mar 2008 02:53:27 +0000 (03:53 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:30 +0000 (17:41 +0200)
commit7d1116a92d709c22e7db910724c9fcd2001b0499
tree364fe750182fd5b8e53f14c64aed490388f6c5e6
parent41bd4eac748f39d7f3ed770fae3e595a747172bd
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 <ak@suse.de>
Cc: andreas.herrmann3@amd.com
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_32.c
include/asm-x86/page.h
include/asm-x86/page_64.h