Reduce the resettodr_lock scope to only CLOCK_SETTIME() call.
authorkib <kib@FreeBSD.org>
Wed, 27 Jul 2016 11:34:25 +0000 (11:34 +0000)
committerkib <kib@FreeBSD.org>
Wed, 27 Jul 2016 11:34:25 +0000 (11:34 +0000)
commitb1a1209a8d82223965848e5944d255d7eb98ad49
tree2a3fe2d1efe69c5733c17e8e787621d6bbaedc75
parentb3d1fb07588231fe532db70fd5a44c13ac189540
Reduce the resettodr_lock scope to only CLOCK_SETTIME() call.

Tested by: pho (as part of the whole patch)
Reviewed by: jhb (same)
Discussed with: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 month
X-Differential revision: https://reviews.freebsd.org/D7302
sys/kern/subr_rtc.c