Many RTC routines were not protected against each other, so there are
potential races, for example, ntp-update against /dev/rtc. This patch
fixes them using rtc_lock.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
||
|---|---|---|
| .. | ||
| dbg_io.c | ||
| Makefile | ||
| rtc_m41t81.c | ||
| rtc_xicor1241.c | ||
| setup.c | ||
| time.c | ||