]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Switch from to_tm to rtc_time_to_tm
authorRalf Baechle <ralf@linux-mips.org>
Thu, 11 Oct 2007 22:46:09 +0000 (23:46 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 11 Oct 2007 22:46:09 +0000 (23:46 +0100)
commit90b02340dcc6ce00bf22c48f4865915f5989e5e4
tree763f07fe0025ac5cd54fa361ec5d77ad76b5547c
parent4b550488f894c899aa54dc935c8fee47bca2b7df
[MIPS] Switch from to_tm to rtc_time_to_tm

This replaces the MIPS-specific to_tm function with the generic
rtc_time_to_tm function.  The big difference between the two functions is
that rtc_time_to_tm uses epoch 70 while to_tm uses 1970, so the result of
rtc_time_to_tm needs to be fixed up.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/kernel/time.c
arch/mips/pmc-sierra/yosemite/setup.c
arch/mips/sgi-ip22/ip22-time.c
arch/mips/sibyte/swarm/rtc_m41t81.c
arch/mips/sibyte/swarm/rtc_xicor1241.c
include/asm-mips/time.h