summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2011-05-24 17:12:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 08:39:30 -0700
commit8bba154ef29e16331e578029e9050c74b87b7ff9 (patch)
tree9dc8ecea8b09d82f72de2dfae367c3a6086e3eb1 /mm
parent172703b08cd05e2d5196ac13e94cc186f629d58b (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions