|
@@ -1118,8 +1118,8 @@ void __init setup_bootmem_allocator(void)
|
|
|
* the (very unlikely) case of us accidentally initializing the
|
|
|
* bootmem allocator with an invalid RAM area.
|
|
|
*/
|
|
|
- reserve_bootmem(__PHYSICAL_START, (PFN_PHYS(min_low_pfn) +
|
|
|
- bootmap_size + PAGE_SIZE-1) - (__PHYSICAL_START));
|
|
|
+ reserve_bootmem(__pa_symbol(_text), (PFN_PHYS(min_low_pfn) +
|
|
|
+ bootmap_size + PAGE_SIZE-1) - __pa_symbol(_text));
|
|
|
|
|
|
/*
|
|
|
* reserve physical page 0 - it's a special BIOS page on many boxes,
|