Messages in this thread Patch in this message | | | Date | Wed, 09 Jun 2010 11:34:50 -0700 | From | Stephen Hemminger <> | Subject | [PATCH 1/8] 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>
--- a/drivers/block/floppy.c 2010-06-08 23:06:35.142657727 -0700 +++ b/drivers/block/floppy.c 2010-06-08 23:07:59.205810459 -0700 @@ -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;
| |