diff options
author | Frank Pavlic <fpavlic@de.ibm.com> | 2006-09-20 09:59:03 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-20 09:59:03 -0400 |
commit | 47addc84b450fd5e391ab118e178645cb0bbd89d (patch) | |
tree | 026dafc084523245a928675aafb74ff23e54a56b /drivers/s390/cio/qdio.c | |
parent | 7d5d688f724dd5a651d1ce7bc3ea7c03d28137a1 (diff) |
[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/cio/qdio.c')
-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 7c93a8798d23..16e3715d5c0d 100644 --- a/drivers/s390/cio/qdio.c +++ b/drivers/s390/cio/qdio.c | |||
@@ -115,7 +115,7 @@ qdio_min(int a,int b) | |||
115 | static inline __u64 | 115 | static inline __u64 |
116 | qdio_get_micros(void) | 116 | qdio_get_micros(void) |
117 | { | 117 | { |
118 | return (get_clock() >> 10); /* time>>12 is microseconds */ | 118 | return (get_clock() >> 12); /* time>>12 is microseconds */ |
119 | } | 119 | } |
120 | 120 | ||
121 | /* | 121 | /* |