Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140871134
D35933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
686 B
Referenced Files
None
Subscribers
None
D35933.diff
View Options
Index: sys/kern/kern_tc.c
===================================================================
--- sys/kern/kern_tc.c
+++ sys/kern/kern_tc.c
@@ -1860,8 +1860,7 @@
tcount = pps->capcount - tcount;
tcount &= captc->tc_counter_mask;
bintime_addx(&bt, capth_scale * tcount);
- bintime2timespec(&bt, &ts);
- *tsp = ts;
+ bintime2timespec(&bt, tsp);
if (foff) {
timespecadd(tsp, osp, tsp);
@@ -1876,9 +1875,8 @@
bt = pps->capffth->tick_time;
ffclock_convert_delta(tcount, pps->capffth->cest.period, &bt);
bintime_add(&bt, &pps->capffth->tick_time);
- bintime2timespec(&bt, &ts);
(*pseq_ffc)++;
- *tsp_ffc = ts;
+ bintime2timespec(&bt, tsp_ffc);
#endif
#ifdef PPS_SYNC
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 30, 2:16 AM (12 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27373436
Default Alt Text
D35933.diff (686 B)
Attached To
Mode
D35933: pps: Directly assign the timestamps in pps_event()
Attached
Detach File
Event Timeline
Log In to Comment