|
@@ -2260,10 +2260,8 @@ void __init trap_init(void)
|
|
|
unsigned long size = 0x200 + VECTORSPACING*64;
|
|
|
phys_addr_t ebase_pa;
|
|
|
|
|
|
- memblock_set_bottom_up(true);
|
|
|
ebase = (unsigned long)
|
|
|
memblock_alloc_from(size, 1 << fls(size), 0);
|
|
|
- memblock_set_bottom_up(false);
|
|
|
|
|
|
/*
|
|
|
* Try to ensure ebase resides in KSeg0 if possible.
|
|
@@ -2307,6 +2305,7 @@ void __init trap_init(void)
|
|
|
if (board_ebase_setup)
|
|
|
board_ebase_setup();
|
|
|
per_cpu_trap_init(true);
|
|
|
+ memblock_set_bottom_up(false);
|
|
|
|
|
|
/*
|
|
|
* Copy the generic exception handlers to their final destination.
|