Commit 285203c8 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jens Axboe

floppy: initialize debug jiffies offset

Set debug jiffies offset at initialization.  Avoids wierd values showing
up if debugging enabled.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent f3bcb143
...@@ -4175,6 +4175,9 @@ static int __init floppy_init(void) ...@@ -4175,6 +4175,9 @@ static int __init floppy_init(void)
int i, unit, drive; int i, unit, drive;
int err, dr; int err, dr;
set_debugt();
interruptjiffies = resultjiffies = jiffies;
#if defined(CONFIG_PPC) #if defined(CONFIG_PPC)
if (check_legacy_ioport(FDC1)) if (check_legacy_ioport(FDC1))
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment