summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorFrank Pavlic <fpavlic@de.ibm.com>2006-09-20 13:59:03 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-09-20 13:59:03 (GMT)
commit47addc84b450fd5e391ab118e178645cb0bbd89d (patch)
tree026dafc084523245a928675aafb74ff23e54a56b /drivers/s390
parent7d5d688f724dd5a651d1ce7bc3ea7c03d28137a1 (diff)
downloadlinux-fsl-qoriq-47addc84b450fd5e391ab118e178645cb0bbd89d.tar.xz
[S390] qdio_get_micros return value.
qdio_get_micros is supposed to return microseconds. The get_clock() return value needs to be shifted by 12 to get to microseconds. Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/cio/qdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio.c b/drivers/s390/cio/qdio.c
index 7c93a87..16e3715 100644
--- a/drivers/s390/cio/qdio.c
+++ b/drivers/s390/cio/qdio.c
@@ -115,7 +115,7 @@ qdio_min(int a,int b)
static inline __u64
qdio_get_micros(void)
{
- return (get_clock() >> 10); /* time>>12 is microseconds */
+ return (get_clock() >> 12); /* time>>12 is microseconds */
}
/*