|
@@ -1128,7 +1128,6 @@ void __init setup_arch(char **cmdline_p)
|
|
setup_real_mode();
|
|
setup_real_mode();
|
|
|
|
|
|
memblock_set_current_limit(get_max_mapped());
|
|
memblock_set_current_limit(get_max_mapped());
|
|
- dma_contiguous_reserve(max_pfn_mapped << PAGE_SHIFT);
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* NOTE: On x86-32, only from this point on, fixmaps are ready for use.
|
|
* NOTE: On x86-32, only from this point on, fixmaps are ready for use.
|
|
@@ -1159,6 +1158,7 @@ void __init setup_arch(char **cmdline_p)
|
|
early_acpi_boot_init();
|
|
early_acpi_boot_init();
|
|
|
|
|
|
initmem_init();
|
|
initmem_init();
|
|
|
|
+ dma_contiguous_reserve(max_pfn_mapped << PAGE_SHIFT);
|
|
|
|
|
|
/*
|
|
/*
|
|
* Reserve memory for crash kernel after SRAT is parsed so that it
|
|
* Reserve memory for crash kernel after SRAT is parsed so that it
|