[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>
This commit is contained in:
parent
7d5d688f72
commit
47addc84b4
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue