[PATCHSET] PC-9800 addtional for 2.5.50-ac1 (1/21)

From: Osamu Tomita (tomita@cinet.co.jp)
Date: Sun Dec 15 2002 - 05:34:26 EST


NEC PC-9800 subarchitecture support patch for 2.5.50-ac1(1/21)
This is updates for drivers/block/floppy98.c.
Synchronized with floppy.c in 2.5.50.

diffstat:
 drivers/block/floppy98.c | 3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

Regards,
Osamu Tomita

--- linux-2.5.47-ac5/drivers/block/floppy98.c Mon Nov 11 12:28:05 2002
+++ linux-2.5.48/drivers/block/floppy98.c Tue Nov 19 10:15:36 2002
@@ -167,6 +167,7 @@
 #include <linux/kernel.h>
 #include <linux/timer.h>
 #include <linux/workqueue.h>
+#include <linux/version.h>
 #define FDPATCHES
 #include <linux/fdreg.h>
 
@@ -3354,7 +3355,7 @@
 static int invalidate_drive(struct block_device *bdev)
 {
         /* invalidate the buffer track to force a reread */
- set_bit(DRIVE(to_kdev_t(bdev->bd_dev)), &fake_change);
+ set_bit((int)bdev->bd_disk->private_data, &fake_change);
         process_fd_request();
         check_disk_change(bdev);
         return 0;

-
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/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:32 EST