diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/initramfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/initramfs.c b/init/initramfs.c index 80cd713f6cc5..e44f2d932cc4 100644 --- a/init/initramfs.c +++ b/init/initramfs.c | |||
@@ -515,6 +515,7 @@ skip: | |||
515 | initrd_end = 0; | 515 | initrd_end = 0; |
516 | } | 516 | } |
517 | 517 | ||
518 | #ifdef CONFIG_BLK_DEV_RAM | ||
518 | #define BUF_SIZE 1024 | 519 | #define BUF_SIZE 1024 |
519 | static void __init clean_rootfs(void) | 520 | static void __init clean_rootfs(void) |
520 | { | 521 | { |
@@ -561,6 +562,7 @@ static void __init clean_rootfs(void) | |||
561 | sys_close(fd); | 562 | sys_close(fd); |
562 | kfree(buf); | 563 | kfree(buf); |
563 | } | 564 | } |
565 | #endif | ||
564 | 566 | ||
565 | static int __init populate_rootfs(void) | 567 | static int __init populate_rootfs(void) |
566 | { | 568 | { |