Skip to content
Commit 662ba3db authored by Wang Long's avatar Wang Long Committed by Will Deacon
Browse files

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: default avatarWang Long <long.wanglong@huawei.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 309585b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment