]> Zhao Yanbai Git Server - minix.git/commit
kernel: high-hz workaround for do_settime
authorBen Gras <ben@minix3.org>
Mon, 24 Jun 2013 13:46:20 +0000 (15:46 +0200)
committerBen Gras <ben@minix3.org>
Tue, 25 Jun 2013 09:55:43 +0000 (09:55 +0000)
commit27f7fd3554a7b7c152029a608aa47d7b34f300d6
treeb8fc60f2537e06dafde3fefbf2ca6c2d6ca6e3a0
parentbb268230c4cbf2408e9f0f2d228e7e034c5d376b
kernel: high-hz workaround for do_settime

. with hz=1000, clock_t only lasts a few years.
  whenever we can't express the desired realtime
  in ticks because the distance with boottime is
  too high, simply adjust bootime like we do for
  otherwise negative values.
. fixes test 2 on ARM
kernel/system/do_settime.c