Re: [PowerPC] 4.10.0 fails to build on BE config

From: Frederic Weisbecker
Date: Tue Feb 21 2017 - 10:20:26 EST


On Tue, Feb 21, 2017 at 12:55:35PM +0530, abdul wrote:
> Hi,
>
> Today's mainline build, breaks on Power6 and Power7 (all BE config) with
> these build errors
>
> arch/powerpc/kernel/time.c: In function ârunning_clockâ:
> arch/powerpc/kernel/time.c:712:2: error: implicit declaration of function
> âcputime_to_nsecsâ [-Werror=implicit-function-declaration]
> return local_clock() -
> cputime_to_nsecs(kcpustat_this_cpu->cpustat[CPUTIME_STEAL]);
> ^
> cc1: some warnings being treated as errors
> make[1]: *** [arch/powerpc/kernel/time.o] Error 1

Thanks for reporting this!
I just sent a fix.