From: Atsushi Nemoto Date: Wed, 2 Nov 2005 16:01:15 +0000 (+0900) Subject: Use rtc_lock to protect RTC operations X-Git-Tag: v2.6.15-rc1~446^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53c2df2f4ebbc1d8231ca7cc13ac5381230888b1;p=pandora-kernel.git 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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed