summaryrefslogtreecommitdiffstats
path: root/drivers/block/floppy.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-06-15 13:21:11 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 18:15:30 +0200
commit285203c8ff541a775f27148c06c58b96822d8b68 (patch)
tree06bfac235ddab9e977f07d82ada65303c1ca69e0 /drivers/block/floppy.c
parentcciss: change pad value from 32 to 0 (diff)
downloadlinux-285203c8ff541a775f27148c06c58b96822d8b68.tar.xz
linux-285203c8ff541a775f27148c06c58b96822d8b68.zip
floppy: initialize debug jiffies offset
Set debug jiffies offset at initialization. Avoids wierd values showing up if debugging enabled. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to '')
-rw-r--r--drivers/block/floppy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 90c4038702da..0cb24f00c920 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -4175,6 +4175,9 @@ static int __init floppy_init(void)
int i, unit, drive;
int err, dr;
+ set_debugt();
+ interruptjiffies = resultjiffies = jiffies;
+
#if defined(CONFIG_PPC)
if (check_legacy_ioport(FDC1))
return -ENODEV;