projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d5d688
)
[S390] qdio_get_micros return value.
author
Frank Pavlic
<fpavlic@de.ibm.com>
Wed, 20 Sep 2006 13:59:03 +0000
(15:59 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 20 Sep 2006 13:59:03 +0000
(15:59 +0200)
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>
drivers/s390/cio/qdio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/cio/qdio.c
b/drivers/s390/cio/qdio.c
index 7c93a8798d234c89160138571489562c7ef14bd5..16e3715d5c0d72dc88fbc632c16ab59918f5e4f9 100644
(file)
--- 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 */
}
/*