Messages in this thread Patch in this message | | | Date | Tue, 18 Jul 2006 13:53:39 +0200 | From | Martin Schwidefsky <> | Subject | [patch 3/6] s390: channel measurement interval display. |
| |
From: Cornelia Huck <cornelia.huck@de.ibm.com>
[S390] channel measurement interval display.
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 | 1 + 1 files changed, 1 insertion(+)
diff -urpN linux-2.6/drivers/s390/cio/cmf.c linux-2.6-patched/drivers/s390/cio/cmf.c --- linux-2.6/drivers/s390/cio/cmf.c 2006-07-18 13:40:28.000000000 +0200 +++ linux-2.6-patched/drivers/s390/cio/cmf.c 2006-07-18 13:40:44.000000000 +0200 @@ -1068,6 +1068,7 @@ cmb_show_avg_sample_interval(struct devi if (count) { interval = cmb_data->last_update - cdev->private->cmb_start_time; + interval = (interval * 1000) >> 12; interval /= count; } else interval = -1; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |