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>
This commit is contained in:
Stephen Hemminger 2010-06-15 13:21:11 +02:00 committed by Jens Axboe
parent f3bcb14332
commit 285203c8ff
1 changed files with 3 additions and 0 deletions

View File

@ -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;