From: Thomas Gleixner Date: Thu, 9 Jul 2015 08:51:46 +0000 (+0200) Subject: cris: Replace do_posix_clock_monotonic_gettime() X-Git-Tag: v6.6-pxa1908~20809^2~2 X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;h=0ec62aaee919991d9e0e278f70776d560d95fc29;p=linux.git cris: Replace do_posix_clock_monotonic_gettime() ktime_get_ts() is the proper interface today. Signed-off-by: Thomas Gleixner Cc: Jesper Nilsson --- diff --git a/arch/cris/arch-v32/drivers/sync_serial.c b/arch/cris/arch-v32/drivers/sync_serial.c index 4dda9bd6b8fb..e989cee77414 100644 --- a/arch/cris/arch-v32/drivers/sync_serial.c +++ b/arch/cris/arch-v32/drivers/sync_serial.c @@ -1464,7 +1464,7 @@ static inline void handle_rx_packet(struct sync_port *port) if (port->write_ts_idx == NBR_IN_DESCR) port->write_ts_idx = 0; idx = port->write_ts_idx++; - do_posix_clock_monotonic_gettime(&port->timestamp[idx]); + ktime_get_ts(&port->timestamp[idx]); port->in_buffer_len += port->inbufchunk; } spin_unlock_irqrestore(&port->lock, flags);