s390: fix do_gettimeoffset
PATCH 1/1 s390: fix do_gettimeoffset
From: Heiko Carstens <[email protected]>
kill-wall_jiffies.patch breaks s390's do_gettimeoffset(). Fix this and do a small whitespace cleanup while we are at it.
Cc Atsushi Nemoto <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Signed-off-by Heiko Carstens <[email protected]>
---
arch/s390/kernel/time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/s390/kernel/time.c +2 -1
@@ -85,7 +85,8 @@ {__u64 now; - now = (get_clock () - jiffies_timer_cc) >>12 ; + now = (get_clock () - jiffies_timer_cc) >>12 ; + now -= (__u64 ) jiffies *USECS_PER_JIFFY ;return (unsigned long ) now; }
Quoted 4 lines · Heiko Carstens
From: Heiko Carstens <[email protected]>
kill-wall_jiffies.patch breaks s390's
do_gettimeoffset(). Fix this and do a small whitespace cleanup while we are at it.
Oops, my fault. Thank you for fixing it.
---
Atsushi Nemoto