[PATCH v3 0/4] initrd: Use unified initrd reserve function in ARM/RISCV
Kefeng Wang
wangkefeng.wang at huawei.com
Fri Jan 15 00:46:02 EST 2021
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(-)
--
2.26.2
More information about the linux-arm-kernel
mailing list