x86: introduce max_pfn_mapped
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:34:05 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:05 +0000 (13:34 +0100)
commitf87519e8f4f1de9b39a40e56479a7ad2443169dd
treea7397b18ae3dadde8ec6c173ffcae3948b971c44
parent3cbd09e482ade50d212511d4693bd754d4d9dd55
x86: introduce max_pfn_mapped

64bit uses end_pfn_map and 32bit uses max_low_pfn. There are several
files which have #ifdef'ed defines which map either to end_pfn_map or
max_low_pfn. Replace this by a universal define and clean up all the
other instances.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/efi.c
arch/x86/mm/pageattr-test.c
include/asm-x86/efi.h
include/asm-x86/page.h