Page MenuHomeFreeBSD

D35933.diff
No OneTemporary

D35933.diff

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

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)

Event Timeline