On Thu, 14 Jan 2021 21:46:02 PST (-0800), [email protected] wrote:
Use the same implementation of initrd reserve to avoid duplication.
v3:
- split into four patches, suggested-by Palmer Dabbelt
v2:
- fix build error found by kernel test robot
Kefeng Wang (4):
initrd: Add the preprocessor guard in initrd.h
initramfs: Provide a common initrd reserve function
ARM: Covert to reserve_initrd_mem()
riscv: Covert to reserve_initrd_mem()
arch/arm/mm/init.c | 43 +--------------------------------
arch/riscv/mm/init.c | 54 +-----------------------------------------
include/linux/initrd.h | 11 +++++++++
init/initramfs.c | 45 +++++++++++++++++++++++++++++++++++
4 files changed, 58 insertions(+), 95 deletions(-)
Thanks. I have a shared tag with the first two on top of 5.11-rc2 (the start of
my for-next), which I just merged into the riscv/for-next.
git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git -b
shared-lib-reserve_initrd_mem
I'm happy to take the ARM patch if that's easier on your end, but for now I'm
dropping it.