OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cris: Replace do_posix_clock_monotonic_gettime()
[uclinux-h8/linux.git]
/
arch
/
cris
/
arch-v32
/
drivers
/
sync_serial.c
diff --git
a/arch/cris/arch-v32/drivers/sync_serial.c
b/arch/cris/arch-v32/drivers/sync_serial.c
index
4dda9bd
..
e989cee
100644
(file)
--- 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++;
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);
port->in_buffer_len += port->inbufchunk;
}
spin_unlock_irqrestore(&port->lock, flags);