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
--------------E39B80D2C45F12FC722251A2
Content-Type: text/plain; charset=iso-2022-jp;
name="floppy98-update.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="floppy98-update.patch"
--- 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;
--------------E39B80D2C45F12FC722251A2--
-
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/