]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd4c16877abbf3edb840c3801234f001f2d3b9c12
tree64a3f5bc9185af7b4656894ed57b387d91d44626
parentc227f6f1f6a968000987a9c911df43daf59f01aa
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