OSDN Git Service
(root)
/
android-x86
/
kernel.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
0df3af1
..
828b2d3
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;