initramfs: move the legacy keepinitrd parameter to core code
authorChristoph Hellwig <hch@lst.de>
Tue, 14 May 2019 00:18:30 +0000 (17:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 May 2019 16:47:47 +0000 (09:47 -0700)
commitd8ae8a3765bfa1f9bf977e2496fcc9cf64fbfabd
tree94345d60244fed8d79a7a5f812df64ac0dfdff3d
parentafef7889c480ed134247f16c2ebdeabd75e77fd0
initramfs: move the legacy keepinitrd parameter to core code

No need to handle the freeing disable in arch code when we already have a
core hook (and a different name for the option) for it.

Link: http://lkml.kernel.org/r/20190213174621.29297-7-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com> [arm64]
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org> [m68k]
Cc: Steven Price <steven.price@arm.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/Kconfig
arch/arm/Kconfig
arch/arm/mm/init.c
arch/arm64/Kconfig
arch/arm64/mm/init.c
arch/unicore32/Kconfig
arch/unicore32/mm/init.c
init/initramfs.c