tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: yet another WARNING: negative runtime; monotonic clock has gone backwards
Small correction:
enami tsugutomo <enami%sm.sony.co.jp@localhost> writes:
> @@ -980,6 +980,7 @@
> p = (tc_tick * 1000000) / hz;
> aprint_verbose("timecounter: Timecounters tick every %d.%03u msec\n",
> p / 1000, p % 1000);
> + tc_count = tc_tick;
>
> /* warm up new timecounter (again) and get rolling. */
> (void)timecounter->tc_get_timecount(timecounter);
This part is not necessary (and no need to make `count' file static).
tc_tick is 1 on the system I've tested so there was no difference.
enami.
Home |
Main Index |
Thread Index |
Old Index