[PATCH] Re: More problems with 2.5.0-pre5 than pre4

Francois Romieu (romieu@mail.cogenit.fr)
Sat, 1 Dec 2001 20:11:54 +0100


Frank Jacobberger <f1j@xmission.com> :
> What do you make of this from a attempted compile of 2.5.0-pre5:
[...]

diff -burN -p linux-2.5.1-pre5.orig/drivers/block/rd.c linux-2.5.1-pre5/drivers/block/rd.c
--- linux-2.5.1-pre5.orig/drivers/block/rd.c Sat Dec 1 18:12:17 2001
+++ linux-2.5.1-pre5/drivers/block/rd.c Sat Dec 1 18:43:06 2001
@@ -485,7 +485,6 @@ static struct block_device_operations rd
ioctl: rd_ioctl,
};

-#ifdef MODULE
/* Before freeing the module, invalidate all of the protected buffers! */
static void __exit rd_cleanup (void)
{
@@ -503,7 +502,6 @@ static void __exit rd_cleanup (void)
unregister_blkdev( MAJOR_NR, "ramdisk" );
blk_clear(MAJOR_NR);
}
-#endif

/* This is the registration and initialization section of the RAM disk driver */
int __init rd_init (void)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/