lkml.org 
[lkml]   [2010]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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;



\
 
 \ /
  Last update: 2010-06-09 20:59    [W:0.131 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site