|
@@ -446,7 +446,7 @@ static void __init setup_resources(void)
|
|
* part of the System RAM resource.
|
|
* part of the System RAM resource.
|
|
*/
|
|
*/
|
|
if (crashk_res.end) {
|
|
if (crashk_res.end) {
|
|
- memblock_add(crashk_res.start, resource_size(&crashk_res));
|
|
|
|
|
|
+ memblock_add_node(crashk_res.start, resource_size(&crashk_res), 0);
|
|
memblock_reserve(crashk_res.start, resource_size(&crashk_res));
|
|
memblock_reserve(crashk_res.start, resource_size(&crashk_res));
|
|
insert_resource(&iomem_resource, &crashk_res);
|
|
insert_resource(&iomem_resource, &crashk_res);
|
|
}
|
|
}
|