]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: time-of-day fixes for 32-bit CHRP systems
authorPaul Mackerras <paulus@samba.org>
Fri, 18 Nov 2005 04:52:38 +0000 (15:52 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 18 Nov 2005 04:52:38 +0000 (15:52 +1100)
commit0f9754e3049a3ed3424e1d022f854023b51ef6a2
tree38f6159992e890abe1134cecfff36b94146b4065
parentc757fdf01e3df60f903de086884c7d1f2a6b71a5
powerpc: time-of-day fixes for 32-bit CHRP systems

This makes 32-bit CHRP systems use the RTAS time-of-day routines if
available.  It fixes a bug in the RTAS time-of-day routines where they
were storing a 64-bit timebase value in an unsigned long by making
those variables u64.  Also, the direct-access time-of-day routines
had the wrong convention for the month and year in the struct rtc_time.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/rtas-rtc.c
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/chrp/time.c