x86: fix e820_update_range size when overlapping
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 24 Jun 2008 21:55:32 +0000 (14:55 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:10:34 +0000 (13:10 +0200)
commit976dd4dc99c3eaf45e3802ed46e3cc06a1ad8689
tree351ed6bc71666575f4981508f743a963f78f32eb
parent3a58a2a6c879b2e47daafd6e641661c50ac9da5a
x86: fix e820_update_range size when overlapping

before that we relay on sanitize_e820_map to remove the overlap.

but e820_update_range(,,E820_RESERVED, E820_RAM) will not work

this patch fix that

who is going to use this?

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c