diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-06-15 07:21:11 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 12:15:30 -0400 |
commit | 285203c8ff541a775f27148c06c58b96822d8b68 (patch) | |
tree | 06bfac235ddab9e977f07d82ada65303c1ca69e0 /drivers/block/floppy.c | |
parent | f3bcb14332a5881c88f8cd16ed59f3fd0ae26e12 (diff) |
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 90c4038702da..0cb24f00c920 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c | |||
@@ -4175,6 +4175,9 @@ static int __init floppy_init(void) | |||
4175 | int i, unit, drive; | 4175 | int i, unit, drive; |
4176 | int err, dr; | 4176 | int err, dr; |
4177 | 4177 | ||
4178 | set_debugt(); | ||
4179 | interruptjiffies = resultjiffies = jiffies; | ||
4180 | |||
4178 | #if defined(CONFIG_PPC) | 4181 | #if defined(CONFIG_PPC) |
4179 | if (check_legacy_ioport(FDC1)) | 4182 | if (check_legacy_ioport(FDC1)) |
4180 | return -ENODEV; | 4183 | return -ENODEV; |