real-root-dev patch for vger
    Brad Midgley 
    brad at pht.com
       
    Sat Jan  2 07:45:51 EST 1999
    
    
  
a type problem has rendered /proc/sys/kernel/real-root-dev useless in the
vger tree. this problem has been around for quite a while. also attached. 
--- init/main.c.orig	Fri Jan  1 13:35:28 1999
+++ init/main.c	Mon Nov 30 16:01:56 1998
@@ -349,7 +349,7 @@
 extern int rd_size;		/* Size of the ramdisk(s) */
 extern int rd_image_start;	/* starting block # of image */
 #ifdef CONFIG_BLK_DEV_INITRD
-kdev_t real_root_dev;
+int real_root_dev;
 #endif
 #endif
 
--- include/linux/fs.h.orig	Fri Jan  1 13:35:12 1999
+++ include/linux/fs.h	Mon Nov 30 20:03:00 1998
@@ -850,7 +850,7 @@
 extern void mount_root(void);
 
 #ifdef CONFIG_BLK_DEV_INITRD
-extern kdev_t real_root_dev;
+extern int real_root_dev;
 extern int change_root(kdev_t new_root_dev,const char *put_old);
 #endif
 
-------------- next part --------------
--- init/main.c.orig	Fri Jan  1 13:35:28 1999
+++ init/main.c	Mon Nov 30 16:01:56 1998
@@ -349,7 +349,7 @@
 extern int rd_size;		/* Size of the ramdisk(s) */
 extern int rd_image_start;	/* starting block # of image */
 #ifdef CONFIG_BLK_DEV_INITRD
-kdev_t real_root_dev;
+int real_root_dev;
 #endif
 #endif
 
--- include/linux/fs.h.orig	Fri Jan  1 13:35:12 1999
+++ include/linux/fs.h	Mon Nov 30 20:03:00 1998
@@ -850,7 +850,7 @@
 extern void mount_root(void);
 
 #ifdef CONFIG_BLK_DEV_INITRD
-extern kdev_t real_root_dev;
+extern int real_root_dev;
 extern int change_root(kdev_t new_root_dev,const char *put_old);
 #endif
 
    
    
More information about the Linuxppc-dev
mailing list