[PATCH 1/3] RFC: timekeeping: introduce flag systime_was_set

2014-06-12 Thread Alexander Holler
In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set will be true, if a persistent clock sets the time at boot, or if do_settimeofday() is called (e.g. by the RTC subsystem or userspace). Signed-of

[PATCH 1/3] RFC: timekeeping: introduce flag systime_was_set

2013-06-05 Thread Alexander Holler
In order to let an RTC set the time at boot without the problem that a second RTC overwrites it, the flag systime_was_set is introduced. systime_was_set will be true, if a persistent clock sets the time at boot, or if do_settimeofday() is called (e.g. by the RTC subsystem or userspace). Signed-of