rtc-m48t59: shift zero year to 1968 on sparc (rev 2)
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Wed, 29 Oct 2008 22:35:24 +0000 (15:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Oct 2008 22:35:24 +0000 (15:35 -0700)
commit12a9ee3cce256ae0f178d604f2c8764fb2942cfe
tree64a3f5bc9185af7b4656894ed57b387d91d44626
parentbe376649344ba2c3d00021f8bbf64392aa01ad55
rtc-m48t59: shift zero year to 1968 on sparc (rev 2)

Shift the first year to 1968 for Sun SPARC machines.

Move this logic from platform specific files to rtc driver
as this fixes problems with calculating a century bit.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Tested-by: Alexander Beregalov
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/time.c
arch/sparc64/kernel/time.c
drivers/rtc/rtc-m48t59.c