]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Remove mips_rtc_lock
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 2 Nov 2005 16:02:40 +0000 (01:02 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 7 Nov 2005 18:05:38 +0000 (18:05 +0000)
commite329331aedeca0f2a7e15bd26a829ee1619c05e0
treebce2bb4ecb6b6808e9e4ebb802808e851693fa40
parent28622795972984359b74aa36f9645c7ca23e460b
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