projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f257b06
)
[S390] channel measurement interval display.
author
Cornelia Huck
<cornelia.huck@de.ibm.com>
Mon, 17 Jul 2006 14:09:28 +0000
(16:09 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 17 Jul 2006 14:09:28 +0000
(16:09 +0200)
Display avg_sample_interval in nanoseconds, like it is documented.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cmf.c
patch
|
blob
|
history
diff --git
a/drivers/s390/cio/cmf.c
b/drivers/s390/cio/cmf.c
index 0df3af1f08ded68b7beaceea80affc1a50978e4f..828b2d334f0a30fde8a687b7ac5587927151aa6f 100644
(file)
--- a/
drivers/s390/cio/cmf.c
+++ b/
drivers/s390/cio/cmf.c
@@
-1068,6
+1068,7
@@
cmb_show_avg_sample_interval(struct device *dev, struct device_attribute *attr,
if (count) {
interval = cmb_data->last_update -
cdev->private->cmb_start_time;
+ interval = (interval * 1000) >> 12;
interval /= count;
} else
interval = -1;