projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117090b
)
[PATCH] x86-64: Fix harmless off by one in e820 code
author
Andi Kleen
<ak@suse.de>
Mon, 12 Sep 2005 16:49:24 +0000
(18:49 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 12 Sep 2005 17:49:57 +0000
(10:49 -0700)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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
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);