projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e72e4
)
[PATCH] x86-64: Fix partial page check to ensure unusable memory is not being marked...
author
Aaron Durbin
<adurbin@google.com>
Tue, 14 Nov 2006 15:57:45 +0000
(16:57 +0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 14 Nov 2006 15:57:45 +0000
(16:57 +0100)
Fix partial page check in e820_register_active_regions to ensure
partial pages are
not being marked as active in the memory pool.
Signed-off-by: Aaron Durbin <adurbin@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/e820.c
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/e820.c
b/arch/x86_64/kernel/e820.c
index
a75c829
..
855b561
100644
(file)
--- a/
arch/x86_64/kernel/e820.c
+++ b/
arch/x86_64/kernel/e820.c
@@
-278,7
+278,7
@@
e820_register_active_regions(int nid, unsigned long start_pfn,
>> PAGE_SHIFT;
/* Skip map entries smaller than a page */
- if (ei_startpfn > ei_endpfn)
+ if (ei_startpfn >
=
ei_endpfn)
continue;
/* Check if end_pfn_map should be updated */