commit | 53c2df2f4ebbc1d8231ca7cc13ac5381230888b1 | [log] [tgz] |
---|---|---|
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Thu Nov 03 01:01:15 2005 +0900 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon Nov 07 18:05:38 2005 +0000 |
tree | a7446ec56dd877d77ef7318b4bcdc3d38555ff0a | |
parent | e329331aedeca0f2a7e15bd26a829ee1619c05e0 [diff] |
Use rtc_lock to protect RTC operations 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>