Prev: [PATCH 7/8] floppy: use wait_event_interruptible
Next: [PATCH 2/8] floppy: remove unnecessary inlines
From: Stephen Hemminger on 9 Jun 2010 15:00 Set debug jiffies offset at initialization. Avoids wierd values showing up if debugging enabled. Signed-off-by: Stephen Hemminger <shemminger(a)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; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |