Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build fails on powerpc

Kamalesh Babulal
2007-11-06T12:57:46Z

akpm@linux-foundation.org wrote:
> powerpc-move-_rtc_time-routines-under-config_adb_cuda.patch

CC net/9p/error.o
arch/powerpc/platforms/powermac/time.c:168: error: implicit declaration of function ‘from_rtc_time’
arch/powerpc/platforms/powermac/time.c:225: error: implicit declaration of function ‘to_rtc_time’
make[2]: *** [arch/powerpc/platforms/powermac/time.o] Error 1
make[1]: *** [arch/powerpc/platforms/powermac] Error 2
make: *** [arch/powerpc/platforms] Error 2

The above patch causes the build failure, because the from_rtc_time() and to_rtc_time() are
moved under the ifdef CONFIG_ADB_CUDA, but they are begin called in the pmu_set_rtc_time() and
pmac_get_rtc_time() under CONFIG_ADB_PMU.

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.