mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
1c2f87c225
memblock is now fully integrated into the kernel and is the prefered method for tracking memory. Rather than reinvent the wheel with meminfo, migrate to using memblock directly instead of meminfo as an intermediate. Acked-by: Jason Cooper <jason@lakedaemon.net> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
10 lines
209 B
C
10 lines
209 B
C
#ifndef _ASM_ARM_MEMBLOCK_H
|
|
#define _ASM_ARM_MEMBLOCK_H
|
|
|
|
struct machine_desc;
|
|
|
|
void arm_memblock_init(const struct machine_desc *);
|
|
phys_addr_t arm_memblock_steal(phys_addr_t size, phys_addr_t align);
|
|
|
|
#endif
|