Optimize setting of DISRTCSET

This commit is contained in:
Andrey A. Chernov 1994-12-12 05:43:28 +00:00
parent 62be897817
commit 408399029a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5077

View File

@ -212,8 +212,8 @@ int main(argc, argv)
stz = &tz;
}
/* if init, don't touch RTC at all */
if (init) {
/* if init and something will be changed, don't touch RTC at all */
if (init && (stv != NULL || kern_offset != offset)) {
mib[0] = CTL_MACHDEP;
mib[1] = CPU_DISRTCSET;
len = sizeof(disrtcset);