]> git.baikalelectronics.ru Git - kernel.git/commit
memblock, nobootmem: add memblock_virt_alloc_low()
authorYinghai Lu <yinghai@kernel.org>
Tue, 28 Jan 2014 01:06:49 +0000 (17:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Jan 2014 05:02:38 +0000 (21:02 -0800)
commit3888b0827f848c89deae13ec74712a8e8c35cf5f
treef52530fb2240679a0f88ba5047a3bedc6dacf796
parent859290b926241631ffa2d9c176eeed18e267e39d
memblock, nobootmem: add memblock_virt_alloc_low()

The new memblock_virt APIs are used to replaced old bootmem API.

We need to allocate page below 4G for swiotlb.

That should fix regression on Andrew's system that is using swiotlb.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/kernel/setup.c
include/linux/bootmem.h
lib/swiotlb.c