cris: Replace do_posix_clock_monotonic_gettime()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jul 2015 08:51:46 +0000 (10:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jul 2015 08:51:46 +0000 (10:51 +0200)
ktime_get_ts() is the proper interface today.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v32/drivers/sync_serial.c

index 4dda9bd6b8fbd17219efc7d103207719282e5a33..e989cee7741489b0eaec0069d0c5fe87bcce1e4a 100644 (file)
@@ -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);