summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/kern_tc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/kern_tc.c')
-rw-r--r--cpukit/score/src/kern_tc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index fa53fcd085..306db0e9d9 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -1596,10 +1596,8 @@ _Timecounter_Windup(struct bintime *new_boottimebin,
if (bt.sec != t)
th->th_boottime.sec += bt.sec - t;
}
- th->th_bintime = th->th_offset;
- bintime_add(&th->th_bintime, &th->th_boottime);
/* Update the UTC timestamps used by the get*() functions. */
- /* XXX shouldn't do this here. Should force non-`get' versions. */
+ th->th_bintime = bt;
bintime2timeval(&bt, &th->th_microtime);
bintime2timespec(&bt, &th->th_nanotime);