]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memblock: introduce memblock_alloc_range()
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 22 May 2014 00:42:47 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:47 +0000 (10:42 +1000)
commita8b9543183c69dc5eeac7bf775840ffde8ac7971
tree31d5ba83d4ce1edbf90c0fd0381eebd3733afb54
parent84cb2da2386c56b21c78761e930ea7d64960a348
memblock: introduce memblock_alloc_range()

This introduces memblock_alloc_range() which allocates memblock from the
specified range of physical address.  I would like to use this function to
specify the location of CMA.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Don Dutile <ddutile@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memblock.h
mm/memblock.c