diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2019-10-08 08:25:13 +0200 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-02-21 08:43:25 +0100 |
commit | d46869aaab7981f9153d3271228005a52ef18591 (patch) | |
tree | a3e7481fab17fd358f1a02f6bbfb34e97486674f /arch/csky/kernel/setup.c | |
parent | csky: Cleanup old Kconfig options (diff) | |
download | linux-d46869aaab7981f9153d3271228005a52ef18591.tar.xz linux-d46869aaab7981f9153d3271228005a52ef18591.zip |
csky: Add setup_initrd check code
We should give some necessary check for initrd just like other
architectures and it seems that setup_initrd() could be a common
code for all architectures.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/kernel/setup.c')
-rw-r--r-- | arch/csky/kernel/setup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/csky/kernel/setup.c b/arch/csky/kernel/setup.c index 4fc7b16b77d2..3821e55742f4 100644 --- a/arch/csky/kernel/setup.c +++ b/arch/csky/kernel/setup.c @@ -47,9 +47,6 @@ static void __init csky_memblock_init(void) signed long size; memblock_reserve(__pa(_stext), _end - _stext); -#ifdef CONFIG_BLK_DEV_INITRD - memblock_reserve(__pa(initrd_start), initrd_end - initrd_start); -#endif early_init_fdt_reserve_self(); early_init_fdt_scan_reserved_mem(); |