X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=arch%2Fcris%2Farch-v32%2Fdrivers%2Fsync_serial.c;h=e989cee7741489b0eaec0069d0c5fe87bcce1e4a;hb=0ec62aaee919991d9e0e278f70776d560d95fc29;hp=4dda9bd6b8fbd17219efc7d103207719282e5a33;hpb=2ae79026818e7d49fead82b79b1a543e3b9c8a23;p=uclinux-h8%2Flinux.git 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);