diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-09 04:51:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-09 04:51:46 -0400 |
commit | 0ec62aaee919991d9e0e278f70776d560d95fc29 (patch) | |
tree | 84ef6db40c6ecd7cbba35cd8fd0ee2b9439f1acb /arch/cris | |
parent | 37b64a42067a04a22468c4e52c12af00d72e462b (diff) |
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) | |||
1464 | if (port->write_ts_idx == NBR_IN_DESCR) | 1464 | if (port->write_ts_idx == NBR_IN_DESCR) |
1465 | port->write_ts_idx = 0; | 1465 | port->write_ts_idx = 0; |
1466 | idx = port->write_ts_idx++; | 1466 | idx = port->write_ts_idx++; |
1467 | do_posix_clock_monotonic_gettime(&port->timestamp[idx]); | 1467 | ktime_get_ts(&port->timestamp[idx]); |
1468 | port->in_buffer_len += port->inbufchunk; | 1468 | port->in_buffer_len += port->inbufchunk; |
1469 | } | 1469 | } |
1470 | spin_unlock_irqrestore(&port->lock, flags); | 1470 | spin_unlock_irqrestore(&port->lock, flags); |