lkml.org 
[lkml]   [2010]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] Prevent reserving RAM in the region already reserved by BIOS
From
Does it make sense to prevent looking for stolen RAM below the ISA section.


Signed-off-by: Mathieu Rondonneau <mathieu.rondonneau@gmail.com>
---
arch/x86/kernel/e820.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c
index 7bca3c6..322c9c3 100644
--- a/arch/x86/kernel/e820.c
+++ b/arch/x86/kernel/e820.c
@@ -1156,6 +1156,8 @@ void __init e820_reserve_resources_late(void)
end = MAX_RESOURCE_SIZE;
if (start >= end)
continue;
+ if (end < ISA_START_ADDRESS)
+ continue;
printk(KERN_DEBUG "reserve RAM buffer: %016llx - %016llx ",
start, end);
reserve_region_with_split(&iomem_resource, start, end,
--
1.6.3.3

\
 
 \ /
  Last update: 2010-05-19 07:37    [W:0.074 / U:0.644 seconds]
©2003-2014 Jasper Spaans. Advertise on this site