projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3bcb14
)
floppy: initialize debug jiffies offset
author
Stephen Hemminger
<shemminger@vyatta.com>
Tue, 15 Jun 2010 11:21:11 +0000
(13:21 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:15:30 +0000
(18:15 +0200)
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>
drivers/block/floppy.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/floppy.c
b/drivers/block/floppy.c
index 90c4038702da3606e796bc3dea012ee37eb7bcc4..0cb24f00c9204dda2d5f34d680d372147c3866d4 100644
(file)
--- a/
drivers/block/floppy.c
+++ b/
drivers/block/floppy.c
@@
-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;