diff --git a/[refs] b/[refs] index 5fc0cc23c9a9..2ea58a513322 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2f6f6c6b5c4774cfdbe759eea1f5203a4b26fe6f +refs/heads/master: b52bb3712a64c404846f30300b339cfd01e316be diff --git a/trunk/init/initramfs.c b/trunk/init/initramfs.c index 80cd713f6cc5..e44f2d932cc4 100644 --- a/trunk/init/initramfs.c +++ b/trunk/init/initramfs.c @@ -515,6 +515,7 @@ static void __init free_initrd(void) initrd_end = 0; } +#ifdef CONFIG_BLK_DEV_RAM #define BUF_SIZE 1024 static void __init clean_rootfs(void) { @@ -561,6 +562,7 @@ static void __init clean_rootfs(void) sys_close(fd); kfree(buf); } +#endif static int __init populate_rootfs(void) {