git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] x86-64: Fix harmless off by one in e820 code
[pandora-kernel.git]
/
arch
/
x86_64
/
kernel
/
e820.c
diff --git
a/arch/x86_64/kernel/e820.c
b/arch/x86_64/kernel/e820.c
index
bb0ae18
..
eb7929e
100644
(file)
--- a/
arch/x86_64/kernel/e820.c
+++ b/
arch/x86_64/kernel/e820.c
@@
-131,7
+131,7
@@
void __init e820_bootmem_free(pg_data_t *pgdat, unsigned long start,unsigned lon
if (ei->type != E820_RAM ||
ei->addr+ei->size <= start ||
- ei->addr > end)
+ ei->addr >
=
end)
continue;
addr = round_up(ei->addr, PAGE_SIZE);