Searched hist:"566 fb58e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/xtensa/mm/ |
H A D | init.c | 566fb58e Fri Oct 03 18:46:34 CDT 2014 Max Filippov <jcmvbkbc@gmail.com> xtensa: nommu: reserve memory below PLATFORM_DEFAULT_MEM_START
Memory accounting code can't handle pages below PLATFORM_DEFAULT_MEM_START. Reserve those pages if they exist. When PLATFORM_DEFAULT_MEM_START is zero reserve one page at address 0 to make sure that successfull memory allocations don't return NULL.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> 566fb58e Fri Oct 03 18:46:34 CDT 2014 Max Filippov <jcmvbkbc@gmail.com> xtensa: nommu: reserve memory below PLATFORM_DEFAULT_MEM_START Memory accounting code can't handle pages below PLATFORM_DEFAULT_MEM_START. Reserve those pages if they exist. When PLATFORM_DEFAULT_MEM_START is zero reserve one page at address 0 to make sure that successfull memory allocations don't return NULL. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
|