_DEV_INITRD
> kdev_t real_root_dev;
> #endif
> #endif
>
> int root_mountflags = MS_RDONLY;
>
> and then in kernel/sysctl.c:
>
> #ifdef CONFIG_BLK_DEV_INITRD
> {KERN_REALROOTDEV, "real-root-dev", &real_root_dev, sizeof(int),
>06
On Fri, 20 Oct 2000, Andries Brouwer wrote:
> On Thu, Oct 19, 2000 at 09:50:48PM +0200, Geert Uytterhoeven wrote:
> >
> > `real_root_dev' must be `int', not `kdev_t'.
> >
> > - if (MAJOR(real_root_dev) != RAMDISK_MAJOR
> > + i
On Thu, Oct 19, 2000 at 09:50:48PM +0200, Geert Uytterhoeven wrote:
>
> `real_root_dev' must be `int', not `kdev_t'.
>
> - if (MAJOR(real_root_dev) != RAMDISK_MAJOR
> + if (MAJOR((kdev_t)real_root_dev) != RAMDISK_MAJOR
Ach, Geert, how painf
`real_root_dev' must be `int', not `kdev_t'.
The reason for this is that we still have (in ):
typedef unsigned short kdev_t;
while kernel/sysctl.c has the following line:
{KERN_REALROOTDEV, "real-root-dev", &real_root_dev, sizeof(int), 0644, NULL,
&a
4 matches
Mail list logo