From: Frank Pavlic Date: Wed, 20 Sep 2006 13:59:03 +0000 (+0200) Subject: [S390] qdio_get_micros return value. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=47addc84b450fd5e391ab118e178645cb0bbd89d;p=linux-beck.git [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 Signed-off-by: Martin Schwidefsky --- 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) static inline __u64 qdio_get_micros(void) { - return (get_clock() >> 10); /* time>>12 is microseconds */ + return (get_clock() >> 12); /* time>>12 is microseconds */ } /*