diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-10-04 03:46:34 +0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-10-21 13:28:57 +0400 |
commit | 566fb58ed422537715023d1f19b705247a640b11 (patch) | |
tree | 9051c7de2de61b18e0cceb1f63a81e094b5d6f1a /lib/dma-debug.c | |
parent | 2eabc1800d1ef7a850672aedcc266a831572af63 (diff) | |
download | op-kernel-dev-566fb58ed422537715023d1f19b705247a640b11.zip op-kernel-dev-566fb58ed422537715023d1f19b705247a640b11.tar.gz |
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>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions