Optimize setting of DISRTCSET
This commit is contained in:
parent
62be897817
commit
408399029a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user