Remove mips_rtc_lock
commit264d05aa8b8fb0b631674f02396d0f4c7276c9f9
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 2 Nov 2005 16:02:40 +0000 (3 01:02 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Nov 2005 11:02:42 +0000 (3 11:02 +0000)
tree995c6db1b7347d28a573b6a529791b28b9413682
parent604fb4a1d6f8bd4cd76528698bb6fd92686bee4c
Remove mips_rtc_lock

The mips_rtc_lock is no longer needed because RTC operations should be
protected already by other mechanism. (rtc_lock, local_irq_save, etc.)

Also, locking whole rtc_get_time/rtc_set_time should be avoided while
some RTC routines might take very long time (a few seconds).

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/rtc.h