]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8168/1: extend __init_end to a page align address
authorYalin Wang <Yalin.Wang@sonymobile.com>
Fri, 26 Sep 2014 02:30:59 +0000 (03:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 Oct 2014 20:28:16 +0000 (21:28 +0100)
commit1c0511c7f7cb8421b4514bb000e9fb8d5aefa721
tree6b7269197b898825ae032ca2b129942ba83edd87
parent91029a775d297a5f8f4e0cc3713a0170dccc11ad
ARM: 8168/1: extend __init_end to a page align address

This patch changes the __init_end address to a
page align address, so that free_initmem() can
free the whole .init section, because if the end
address is not page aligned, it will round down to
a page align address, then the tail unligned page
will not be freed.

Signed-off-by: wang <yalin.wang2010@gmail.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/vmlinux.lds.S
arch/arm64/kernel/vmlinux.lds.S
include/asm-generic/vmlinux.lds.h