@@ -1447,7 +1447,7 @@ void asmlinkage __init noreturn __start_xen(unsigned long
mbi_p)
{
/* Don't overlap with modules. */
end = consider_modules(s, e, reloc_size + mask,
- mod, boot_info->nr_mods, -1);
+ boot_info->mods, boot_info->nr_mods, -1);
end &= ~mask;
}
else
@@ -1482,7 +1482,7 @@ void asmlinkage __init noreturn __start_xen(unsigned long
mbi_p)
continue;
/* Don't overlap with other modules (or Xen itself). */
- end = consider_modules(s, e, size, mod,
+ end = consider_modules(s, e, size, boot_info->mods,
boot_info->nr_mods + relocated, j);
if ( highmem_start && end > highmem_start )
@@ -1509,7 +1509,7 @@ void asmlinkage __init noreturn __start_xen(unsigned long
mbi_p)
while ( !kexec_crash_area.start )
{
/* Don't overlap with modules (or Xen itself). */
- e = consider_modules(s, e, PAGE_ALIGN(kexec_crash_area.size), mod,
+ e = consider_modules(s, e, PAGE_ALIGN(kexec_crash_area.size),
boot_info->mods,
boot_info->nr_mods + relocated, -1);