diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-09 11:51:46 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-09 11:51:46 +0300 |
commit | 0ec62aaee919991d9e0e278f70776d560d95fc29 (patch) | |
tree | 84ef6db40c6ecd7cbba35cd8fd0ee2b9439f1acb /arch/cris | |
parent | 37b64a42067a04a22468c4e52c12af00d72e462b (diff) | |
download | linux-0ec62aaee919991d9e0e278f70776d560d95fc29.tar.xz |
cris: Replace do_posix_clock_monotonic_gettime()
ktime_get_ts() is the proper interface today.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/arch-v32/drivers/sync_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |