]> err.no Git - linux-2.6/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)
commit49e16b7becd6320bde51aa238c11815708f836d9
tree38f6159992e890abe1134cecfff36b94146b4065
parent6146eed1e972a7de93ce2e36adc5812de81e879c
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