From: Stephen Hemminger Date: Tue, 15 Jun 2010 11:21:11 +0000 (+0200) Subject: floppy: initialize debug jiffies offset X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=285203c8ff541a775f27148c06c58b96822d8b68;p=openwrt%2Fstaging%2Fblogic.git floppy: initialize debug jiffies offset Set debug jiffies offset at initialization. Avoids wierd values showing up if debugging enabled. Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- 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;