Messages in this thread | | | Subject | Re: [PATCH v2] initramfs: Provide a common initrd reserve function | From | Kefeng Wang <> | Date | Fri, 15 Jan 2021 13:44:42 +0800 |
| |
On 2021/1/15 10:33, Palmer Dabbelt wrote: > On Wed, 13 Jan 2021 18:33:58 PST (-0800), wangkefeng.wang@huawei.com > wrote: >> The ARM and riscv have same logic to check and reserve >> the memory of initrd, let's provide a common function to >> reduce duplicated code. >> >> Add __LINUX_INITRD_H define in initrd.h to prevent build error >> (found by kernel test robot <lkp@intel.com>) from the multiple >> inclusion of same header file multiple time. > > This is doing a bunch of different things: > > * Fixing the lack of a preprocessor guard in initrd.h > * Adding some generic code. > * Converting two architectures over to that generic code. > > It needs to be split into four patches. I'm happy to take them via > the RISC-V tree (with an Ack from for the arch/arm/ stuff), but not > all together. > > It looks like csky copied this as well, they at least have exactly the > same message.
Send v3, according to the suggestion,thanks.
| |