arm64: mm: add __init section marker to free_initrd_mem
authorWang Long <long.wanglong@huawei.com>
Mon, 27 Jul 2015 02:32:53 +0000 (03:32 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 17:29:18 +0000 (18:29 +0100)
commit662ba3dbceca3ca284885a464ecb8c936f417003
tree6940b9e358eba3119db2ea15bc3bc07d4c9b9ba1
parent309585b0b931b291d0525b2830161ee76a2f23ff
arm64: mm: add __init section marker to free_initrd_mem

It is not needed after booting, this patch moves the
free_initrd_mem() function to the __init section.

This patch also make keep_initrd __initdata, to reduce kernel
size.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/init.c