mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
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>
This commit is contained in:
parent
f3bcb14332
commit
285203c8ff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user