diff options
author | Artiom Myaskouvskey <artiom.myaskouvskey@intel.com> | 2006-12-06 20:14:11 -0500 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-06 20:14:11 -0500 |
commit | bf7e6a196318316e921f357557fca9d11d15f486 (patch) | |
tree | 7484602fdde8eab3b750b4e9bd3f3d9a2edc628e /arch/i386/mm/init.c | |
parent | f990fff427d68af3e4e1d16fe799c106abc0bf53 (diff) |
[PATCH] i386: Preserve EFI run time regions with memmap parameter
When using memmap kernel parameter in EFI boot we should also add to memory map
memory regions of runtime services to enable their mapping later.
AK: merged and cleaned up the patch
Signed-off-by: Artiom Myaskouvskey <artiom.myaskouvskey@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/mm/init.c')
-rw-r--r-- | arch/i386/mm/init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index 167416155ee4..f4dd048187ff 100644 --- a/arch/i386/mm/init.c +++ b/arch/i386/mm/init.c | |||
@@ -192,8 +192,6 @@ static inline int page_kills_ppro(unsigned long pagenr) | |||
192 | return 0; | 192 | return 0; |
193 | } | 193 | } |
194 | 194 | ||
195 | extern int is_available_memory(efi_memory_desc_t *); | ||
196 | |||
197 | int page_is_ram(unsigned long pagenr) | 195 | int page_is_ram(unsigned long pagenr) |
198 | { | 196 | { |
199 | int i; | 197 | int i; |