diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-06-15 15:21:11 +0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 20:15:30 +0400 |
commit | 285203c8ff541a775f27148c06c58b96822d8b68 (patch) | |
tree | 06bfac235ddab9e977f07d82ada65303c1ca69e0 /drivers | |
parent | f3bcb14332a5881c88f8cd16ed59f3fd0ae26e12 (diff) | |
download | linux-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')
-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 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; |