Commit 47addc84 authored by Frank Pavlic's avatar Frank Pavlic Committed by Martin Schwidefsky

[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: default avatarFrank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 7d5d688f
...@@ -115,7 +115,7 @@ qdio_min(int a,int b) ...@@ -115,7 +115,7 @@ qdio_min(int a,int b)
static inline __u64 static inline __u64
qdio_get_micros(void) qdio_get_micros(void)
{ {
return (get_clock() >> 10); /* time>>12 is microseconds */ return (get_clock() >> 12); /* time>>12 is microseconds */
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment