x86: Fix kexec reservation

The reservation of space for the kexec area in
kexec_reserve_area is incorrect. It specifies the
start address and size to reserve_e820_mem when
the args should be start and end.

Bug found and fixed by Dave Anderson.

Signed-off-by: Bill Burns <bburns@redhat.com>
This commit is contained in:
Keir Fraser committed 2008-05-19 09:43:42 +01:00
1 parent c1ab310e08
commit e70a0fa88c
1 file changed
+1 -1
+1 -1
View File
@@ -362,7 +362,7 @@ void __init kexec_reserve_area(struct e820map *e820)
is_reserved = 1;
if ( !reserve_e820_ram(e820, kdump_start, kdump_size) )
if ( !reserve_e820_ram(e820, kdump_start, kdump_start + kdump_size) )
{
printk("Kdump: DISABLED (failed to reserve %luMB (%lukB) at 0x%lx)"
"\n", kdump_size >> 20, kdump_size >> 10, kdump_start);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.