commit | 566fb58ed422537715023d1f19b705247a640b11 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Sat Oct 04 03:46:34 2014 +0400 |
committer | Max Filippov <jcmvbkbc@gmail.com> | Tue Oct 21 13:28:57 2014 +0400 |
tree | 9051c7de2de61b18e0cceb1f63a81e094b5d6f1a | |
parent | 2eabc1800d1ef7a850672aedcc266a831572af63 [diff] |
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>