diff options
author | Yinghai Lu <yinghai@kernel.org> | 2011-05-24 17:12:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 08:39:30 -0700 |
commit | 8bba154ef29e16331e578029e9050c74b87b7ff9 (patch) | |
tree | 9dc8ecea8b09d82f72de2dfae367c3a6086e3eb1 /mm/nobootmem.c | |
parent | 172703b08cd05e2d5196ac13e94cc186f629d58b (diff) | |
download | linux-8bba154ef29e16331e578029e9050c74b87b7ff9.tar.gz linux-8bba154ef29e16331e578029e9050c74b87b7ff9.tar.bz2 linux-8bba154ef29e16331e578029e9050c74b87b7ff9.zip |
memblock/nobootmem: allow alloc_bootmem() to take 0 as low limit
The bootmem wrapper with memblock supports top-down now, so we do not need
to set the low limit to __pa(MAX_DMA_ADDRESS).
The logic should be: good to allocate above __pa(MAX_DMA_ADDRESS), but it
is ok if we can not find memory above 16M on system that has a small
amount of RAM.
Signed-off-by: Yinghai LU <yinghai@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Olaf Hering <olaf@aepfle.de>
Cc: Tejun Heo <tj@kernel.org>
Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions