wok-6.x diff linux/stuff/boot-kernel.u @ rev 2737

get-java6-jdk: fix typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 24 17:08:48 2009 +0200 (2009-04-24)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linux/stuff/boot-kernel.u	Fri Apr 24 17:08:48 2009 +0200
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- linux-2.6.22.9/init/initramfs.c
     1.5 ++++ linux-2.6.22.9/init/initramfs.c
     1.6 +@@ -549,7 +549,7 @@
     1.7 + 		panic(err);
     1.8 + #ifdef CONFIG_BLK_DEV_INITRD
     1.9 + 	if (initrd_start) {
    1.10 +-#ifdef CONFIG_BLK_DEV_RAM
    1.11 ++#ifdef NOT_IN_SLITAZ_CONFIG_BLK_DEV_RAM
    1.12 + 		int fd;
    1.13 + 		printk(KERN_INFO "checking if image is initramfs...");
    1.14 + 		err = unpack_to_rootfs((char *)initrd_start,