diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-06-15 11:21:11 (GMT) |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 16:15:30 (GMT) |
commit | 285203c8ff541a775f27148c06c58b96822d8b68 (patch) | |
tree | 06bfac235ddab9e977f07d82ada65303c1ca69e0 /drivers/block/floppy.c | |
parent | f3bcb14332a5881c88f8cd16ed59f3fd0ae26e12 (diff) | |
download | linux-fsl-qoriq-285203c8ff541a775f27148c06c58b96822d8b68.tar.xz |
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 'drivers/block/floppy.c')
-rw-r--r-- | drivers/block/floppy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 90c4038..0cb24f00 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; |