wok-stable view linux/stuff/boot-kernel.u @ rev 3185
Up: gcc (4.4.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 26 17:19:42 2009 +0200 (2009-05-26) |
parents | |
children |
line source
1 --- linux-2.6.22.9/init/initramfs.c
2 +++ linux-2.6.22.9/init/initramfs.c
3 @@ -549,7 +549,7 @@
4 panic(err);
5 #ifdef CONFIG_BLK_DEV_INITRD
6 if (initrd_start) {
7 -#ifdef CONFIG_BLK_DEV_RAM
8 +#ifdef NOT_IN_SLITAZ_CONFIG_BLK_DEV_RAM
9 int fd;
10 printk(KERN_INFO "checking if image is initramfs...");
11 err = unpack_to_rootfs((char *)initrd_start,