Optimize setting of DISRTCSET

This commit is contained in:
Andrey A. Chernov 1994-12-12 05:43:28 +00:00
parent 62be897817
commit 408399029a

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);