diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2019-10-08 09:25:13 +0300 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-02-21 10:43:25 +0300 |
commit | d46869aaab7981f9153d3271228005a52ef18591 (patch) | |
tree | a3e7481fab17fd358f1a02f6bbfb34e97486674f /arch/csky/kernel | |
parent | 4ec575b78521b4573e85aec451930cb040582455 (diff) | |
download | linux-d46869aaab7981f9153d3271228005a52ef18591.tar.xz |
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')
-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(); |