lkml.org 
[lkml]   [2021]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/4] initrd: Use unified initrd reserve function in ARM/RISCV
Date
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

\
 
 \ /
  Last update: 2021-01-15 06:42    [W:0.128 / U:1.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site