aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/mm/init.c')
-rw-r--r--arch/xtensa/mm/init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/xtensa/mm/init.c b/arch/xtensa/mm/init.c
index b51746f2b80b..79467c749416 100644
--- a/arch/xtensa/mm/init.c
+++ b/arch/xtensa/mm/init.c
@@ -45,10 +45,7 @@ void __init bootmem_init(void)
45 * If PHYS_OFFSET is zero reserve page at address 0: 45 * If PHYS_OFFSET is zero reserve page at address 0:
46 * successfull allocations should never return NULL. 46 * successfull allocations should never return NULL.
47 */ 47 */
48 if (PHYS_OFFSET) 48 memblock_reserve(0, PHYS_OFFSET ? PHYS_OFFSET : 1);
49 memblock_reserve(0, PHYS_OFFSET);
50 else
51 memblock_reserve(0, 1);
52 49
53 early_init_fdt_scan_reserved_mem(); 50 early_init_fdt_scan_reserved_mem();
54 51