diff options
author | Frank Pavlic <fpavlic@de.ibm.com> | 2006-09-20 15:59:03 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-20 15:59:03 +0200 |
commit | 47addc84b450fd5e391ab118e178645cb0bbd89d (patch) | |
tree | 026dafc084523245a928675aafb74ff23e54a56b /drivers/s390 | |
parent | 7d5d688f724dd5a651d1ce7bc3ea7c03d28137a1 (diff) | |
download | op-kernel-dev-47addc84b450fd5e391ab118e178645cb0bbd89d.zip op-kernel-dev-47addc84b450fd5e391ab118e178645cb0bbd89d.tar.gz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio.c b/drivers/s390/cio/qdio.c index 7c93a87..16e3715d 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 */ } /* |