diff options
-rw-r--r-- | arch/i386/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index 141041dde74d..61539afbdf23 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c | |||
@@ -1118,8 +1118,8 @@ void __init setup_bootmem_allocator(void) | |||
1118 | * the (very unlikely) case of us accidentally initializing the | 1118 | * the (very unlikely) case of us accidentally initializing the |
1119 | * bootmem allocator with an invalid RAM area. | 1119 | * bootmem allocator with an invalid RAM area. |
1120 | */ | 1120 | */ |
1121 | reserve_bootmem(__PHYSICAL_START, (PFN_PHYS(min_low_pfn) + | 1121 | reserve_bootmem(__pa_symbol(_text), (PFN_PHYS(min_low_pfn) + |
1122 | bootmap_size + PAGE_SIZE-1) - (__PHYSICAL_START)); | 1122 | bootmap_size + PAGE_SIZE-1) - __pa_symbol(_text)); |
1123 | 1123 | ||
1124 | /* | 1124 | /* |
1125 | * reserve physical page 0 - it's a special BIOS page on many boxes, | 1125 | * reserve physical page 0 - it's a special BIOS page on many boxes, |